},System.Boolean,System.Nullable{System.DateTimeOffset})} },System.Boolean,System.Nullable{System.DateTimeOffset})} },System.Boolean,System.Nullable{System.DateTimeOffset})} },System.Boolean,System.Nullable{System.DateTimeOffset})}
IHttpService.DownloadUrl(IBlobCache, string, HttpMethod?, IEnumerable>?, bool, DateTimeOffset?) method¶
Defined in
Type: IHttpService
Namespace: ReactiveMarbles.CacheDatabase.Core
Assembly: ReactiveMarbles.CacheDatabase.Core.dll
Applies to
netstandard2.0
Overloads¶
- 1.
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string url, HttpMethod? method = null, IEnumerable<KeyValuePair<string, string>>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null) - 2.
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, Uri url, HttpMethod? method = null, IEnumerable<KeyValuePair<string, string>>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null) - 3.
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, string url, HttpMethod? method = null, IEnumerable<KeyValuePair<string, string>>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null) - 4.
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, Uri url, HttpMethod? method = null, IEnumerable<KeyValuePair<string, string>>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null)
1. Overload¶
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string url, HttpMethod? method = null, IEnumerable<KeyValuePair<string, string>>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null)
Summary: Gets a observable for a download.
Parameters
| Name | Type | Description |
|---|---|---|
blobCache | [IBlobCache](# | The blob cache where to get the value from if available. |
url | string | The url where to get the resource if not available in the cache. |
method = null | HttpMethod? | The http method. |
headers = null | IEnumerable | The headers to use in the HTTP action. |
fetchAlways = false | bool | If we should just fetch and not bother checking the cache first. |
absoluteExpiration = null | DateTimeOffset? | A optional expiration date time. |
Returns: IObservable
2. Overload¶
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, Uri url, HttpMethod? method = null, IEnumerable<KeyValuePair<string, string>>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null)
Summary: Gets a observable for a download.
Parameters
| Name | Type | Description |
|---|---|---|
blobCache | [IBlobCache](# | The blob cache where to get the value from if available. |
url | Uri | The url where to get the resource if not available in the cache. |
method = null | HttpMethod? | The http method. |
headers = null | IEnumerable | The headers to use in the HTTP action. |
fetchAlways = false | bool | If we should just fetch and not bother checking the cache first. |
absoluteExpiration = null | DateTimeOffset? | A optional expiration date time. |
Returns: IObservable
3. Overload¶
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, string url, HttpMethod? method = null, IEnumerable<KeyValuePair<string, string>>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null)
Summary: Gets a observable for a download.
Parameters
| Name | Type | Description |
|---|---|---|
blobCache | [IBlobCache](# | The blob cache where to get the value from if available. |
key | string | The key to use for the download cache entry. |
url | string | The url where to get the resource if not available in the cache. |
method = null | HttpMethod? | The http method. |
headers = null | IEnumerable | The headers to use in the HTTP action. |
fetchAlways = false | bool | If we should just fetch and not bother checking the cache first. |
absoluteExpiration = null | DateTimeOffset? | A optional expiration date time. |
Returns: IObservable
4. Overload¶
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, Uri url, HttpMethod? method = null, IEnumerable<KeyValuePair<string, string>>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null)
Summary: Gets a observable for a download.
Parameters
| Name | Type | Description |
|---|---|---|
blobCache | [IBlobCache](# | The blob cache where to get the value from if available. |
key | string | The key to use for the download cache entry. |
url | Uri | The url where to get the resource if not available in the cache. |
method = null | HttpMethod? | The http method. |
headers = null | IEnumerable | The headers to use in the HTTP action. |
fetchAlways = false | bool | If we should just fetch and not bother checking the cache first. |
absoluteExpiration = null | DateTimeOffset? | A optional expiration date time. |
Returns: IObservable