,System.Boolean,System.Nullable{System.DateTimeOffset})} ,System.Boolean,System.Nullable{System.DateTimeOffset})} ,System.Boolean,System.Nullable{System.DateTimeOffset})} ,System.Boolean,System.Nullable{System.DateTimeOffset})} ,System.Boolean,System.Nullable{System.DateTimeOffset})} ,System.Boolean,System.Nullable{System.DateTimeOffset})} ,System.Boolean,System.Nullable{System.DateTimeOffset})} ,System.Boolean,System.Nullable{System.DateTimeOffset})}
IAkavacheHttpMixin.DownloadUrl(IBlobCache, string, IDictionary?, bool, DateTimeOffset?) method¶
Defined in
Type: IAkavacheHttpMixin
Namespace: Akavache
Assembly: Akavache.Core.dll
Applies to
net9.0, net9.0-maccatalyst18.0, net9.0-macos15.0, net9.0-tvos18.0, net9.0-android35.0, net9.0-ios18.0, net8.0, net8.0-android34.0, net8.0-macos14.5, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-tvos17.2, netstandard2.1, netstandard2.0
Overloads¶
- 1.
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string url, IDictionary<string, string>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null) - 2.
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, HttpMethod method, string url, IDictionary<string, string>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null) - 3.
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, Uri url, IDictionary<string, string>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null) - 4.
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, HttpMethod method, Uri url, IDictionary<string, string>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null) - 5.
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, string url, IDictionary<string, string>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null) - 6.
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, HttpMethod method, string key, string url, IDictionary<string, string>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null) - 7.
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, Uri url, IDictionary<string, string>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null) - 8.
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, HttpMethod method, string key, Uri url, IDictionary<string, string>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null)
1. Overload¶
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string url, IDictionary<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. |
headers = null | IDictionary | 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, HttpMethod method, string url, IDictionary<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. |
method | HttpMethod | The type of method. |
url | string | The url where to get the resource if not available in the cache. |
headers = null | IDictionary | 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, Uri url, IDictionary<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. |
headers = null | IDictionary | 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, HttpMethod method, Uri url, IDictionary<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. |
method | HttpMethod | The type of method. |
url | Uri | The url where to get the resource if not available in the cache. |
headers = null | IDictionary | 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
5. Overload¶
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, string url, IDictionary<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. |
headers = null | IDictionary | 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
6. Overload¶
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, HttpMethod method, string key, string url, IDictionary<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. |
method | HttpMethod | The type of method. |
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. |
headers = null | IDictionary | 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
7. Overload¶
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, Uri url, IDictionary<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. |
headers = null | IDictionary | 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
8. Overload¶
IObservable<byte[]> DownloadUrl(IBlobCache blobCache, HttpMethod method, string key, Uri url, IDictionary<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. |
method | HttpMethod | The type of method. |
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. |
headers = null | IDictionary | 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