HttpService class¶
Defined in
Namespace: ReactiveMarbles.CacheDatabase.Core
Assembly: ReactiveMarbles.CacheDatabase.Core.dll
Full name: ReactiveMarbles.CacheDatabase.Core.HttpService
Modifiers: public
Summary¶
A default http service.
Applies to
netstandard2.0
Class hierarchy
classDiagram
class HttpService
class IHttpService {
<>
}
IHttpService <|.. HttpService
Implements: IHttpService
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [HttpService](# class. |
Properties¶
| Name | Summary |
|---|---|
| HttpClient | Gets or sets the client. |
Methods¶
| Name | Summary |
|---|---|
| DownloadUrl | Download data from an HTTP URL and insert the result into the cache. If the data is already in the cache, this returns a cached value. The URL itself is used as the key. |
| MakeWebRequest | Makes a web request. |