Skip to content

,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

NameTypeDescription
blobCache[IBlobCache](#The blob cache where to get the value from if available.
urlstringThe url where to get the resource if not available in the cache.
headers = nullIDictionary?The headers to use in the HTTP action.
fetchAlways = falseboolIf we should just fetch and not bother checking the cache first.
absoluteExpiration = nullDateTimeOffset?A optional expiration date time.

Returns: IObservable -- A observable that signals when there is byte data.

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

NameTypeDescription
blobCache[IBlobCache](#The blob cache where to get the value from if available.
methodHttpMethodThe type of method.
urlstringThe url where to get the resource if not available in the cache.
headers = nullIDictionary?The headers to use in the HTTP action.
fetchAlways = falseboolIf we should just fetch and not bother checking the cache first.
absoluteExpiration = nullDateTimeOffset?A optional expiration date time.

Returns: IObservable -- A observable that signals when there is byte data.

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

NameTypeDescription
blobCache[IBlobCache](#The blob cache where to get the value from if available.
urlUriThe url where to get the resource if not available in the cache.
headers = nullIDictionary?The headers to use in the HTTP action.
fetchAlways = falseboolIf we should just fetch and not bother checking the cache first.
absoluteExpiration = nullDateTimeOffset?A optional expiration date time.

Returns: IObservable -- A observable that signals when there is byte data.

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

NameTypeDescription
blobCache[IBlobCache](#The blob cache where to get the value from if available.
methodHttpMethodThe type of method.
urlUriThe url where to get the resource if not available in the cache.
headers = nullIDictionary?The headers to use in the HTTP action.
fetchAlways = falseboolIf we should just fetch and not bother checking the cache first.
absoluteExpiration = nullDateTimeOffset?A optional expiration date time.

Returns: IObservable -- A observable that signals when there is byte data.

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

NameTypeDescription
blobCache[IBlobCache](#The blob cache where to get the value from if available.
keystringThe key to use for the download cache entry.
urlstringThe url where to get the resource if not available in the cache.
headers = nullIDictionary?The headers to use in the HTTP action.
fetchAlways = falseboolIf we should just fetch and not bother checking the cache first.
absoluteExpiration = nullDateTimeOffset?A optional expiration date time.

Returns: IObservable -- A observable that signals when there is byte data.

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

NameTypeDescription
blobCache[IBlobCache](#The blob cache where to get the value from if available.
methodHttpMethodThe type of method.
keystringThe key to use for the download cache entry.
urlstringThe url where to get the resource if not available in the cache.
headers = nullIDictionary?The headers to use in the HTTP action.
fetchAlways = falseboolIf we should just fetch and not bother checking the cache first.
absoluteExpiration = nullDateTimeOffset?A optional expiration date time.

Returns: IObservable -- A observable that signals when there is byte data.

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

NameTypeDescription
blobCache[IBlobCache](#The blob cache where to get the value from if available.
keystringThe key to use for the download cache entry.
urlUriThe url where to get the resource if not available in the cache.
headers = nullIDictionary?The headers to use in the HTTP action.
fetchAlways = falseboolIf we should just fetch and not bother checking the cache first.
absoluteExpiration = nullDateTimeOffset?A optional expiration date time.

Returns: IObservable -- A observable that signals when there is byte data.

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

NameTypeDescription
blobCache[IBlobCache](#The blob cache where to get the value from if available.
methodHttpMethodThe type of method.
keystringThe key to use for the download cache entry.
urlUriThe url where to get the resource if not available in the cache.
headers = nullIDictionary?The headers to use in the HTTP action.
fetchAlways = falseboolIf we should just fetch and not bother checking the cache first.
absoluteExpiration = nullDateTimeOffset?A optional expiration date time.

Returns: IObservable -- A observable that signals when there is byte data.