Skip to content

})} },System.Boolean)} },System.Boolean,System.Nullable{System.DateTimeOffset})} })} },System.Boolean)} },System.Boolean,System.Nullable{System.DateTimeOffset})} })} },System.Boolean)} },System.Boolean,System.Nullable{System.DateTimeOffset})} })} },System.Boolean)} },System.Boolean,System.Nullable{System.DateTimeOffset})}

HttpService.DownloadUrl(IBlobCache, string) method

Defined in

Type: HttpService Namespace: Akavache.Reactive Assembly: Akavache.HttpDownloader.Reactive.dll

Applies to

net10.0, net10.0-maccatalyst26.0, net10.0-desktop1.0, net10.0-browserwasm1.0, net10.0-tvos26.0, net10.0-windows10.0.19041, net10.0-macos26.0, net10.0-ios26.0, net10.0-android36.0, net9.0, net9.0-tvos18.0, net9.0-macos15.0, net9.0-maccatalyst18.0, net9.0-windows10.0.19041, net9.0-ios18.0, net9.0-desktop1.0, net8.0, net8.0-windows10.0.19041, 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.5, netstandard2.1, net481, net462, net471

Overloads

  • 1. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string url)
  • 2. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string url, HttpMethod? method)
  • 3. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers)
  • 4. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers, bool fetchAlways)
  • 5. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers, bool fetchAlways, DateTimeOffset? absoluteExpiration)
  • 6. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string url, bool fetchAlways)
  • 7. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, Uri url)
  • 8. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, Uri url, HttpMethod? method)
  • 9. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, Uri url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers)
  • 10. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, Uri url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers, bool fetchAlways)
  • 11. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, Uri url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers, bool fetchAlways, DateTimeOffset? absoluteExpiration)
  • 12. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, Uri url, bool fetchAlways)
  • 13. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, string url)
  • 14. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, string url, HttpMethod? method)
  • 15. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, string url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers)
  • 16. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, string url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers, bool fetchAlways)
  • 17. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, string url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers, bool fetchAlways, DateTimeOffset? absoluteExpiration)
  • 18. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, string url, bool fetchAlways)
  • 19. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, Uri url)
  • 20. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, Uri url, HttpMethod? method)
  • 21. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, Uri url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers)
  • 22. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, Uri url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers, bool fetchAlways)
  • 23. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, Uri url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers, bool fetchAlways, DateTimeOffset? absoluteExpiration)
  • 24. public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, Uri url, bool fetchAlways)

1. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string url)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads data from a URL and caches it, using the URL as the cache key.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache to store the downloaded data.
urlstringThe URL to download from.

Returns: IObservable -- An observable that emits the downloaded byte data.

2. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string url, HttpMethod? method)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads data from a URL and caches it, using the URL as the cache key.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache to store the downloaded data.
urlstringThe URL to download from.
methodHttpMethod?The HTTP method to use for the request.

Returns: IObservable -- An observable that emits the downloaded byte data.

3. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads data from a URL and caches it, using the URL as the cache key.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache to store the downloaded data.
urlstringThe URL to download from.
methodHttpMethod?The HTTP method to use for the request.
headersIEnumerable>?Optional HTTP headers to include in the request.

Returns: IObservable -- An observable that emits the downloaded byte data.

4. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers, bool fetchAlways)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads data from a URL and caches it, using the URL as the cache key.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache to store the downloaded data.
urlstringThe URL to download from.
methodHttpMethod?The HTTP method to use for the request.
headersIEnumerable>?Optional HTTP headers to include in the request.
fetchAlwaysboolA value indicating whether to always fetch from the web, bypassing the cache.

Returns: IObservable -- An observable that emits the downloaded byte data.

5. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers, bool fetchAlways, DateTimeOffset? absoluteExpiration)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads data from a URL and caches it, using the URL as the cache key.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache to store the downloaded data.
urlstringThe URL to download from.
methodHttpMethod?The HTTP method to use for the request.
headersIEnumerable>?Optional HTTP headers to include in the request.
fetchAlwaysboolA value indicating whether to always fetch from the web, bypassing the cache.
absoluteExpirationDateTimeOffset?An optional expiration date for the cached data.

Returns: IObservable -- An observable that emits the downloaded byte data.

6. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string url, bool fetchAlways)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads a URL, optionally bypassing the cache, using the default method and no extra headers.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The cache to read from and write to.
urlstringThe URL to download.
fetchAlwaysboolWhether to bypass the cache and always fetch.

Returns: IObservable -- An observable that emits the downloaded bytes.

7. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, Uri url)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads data from a URL and caches it, using the URL as the cache key.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache to store the downloaded data.
urlUriThe URL to download from.

Returns: IObservable -- An observable that emits the downloaded byte data.

8. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, Uri url, HttpMethod? method)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads data from a URL and caches it, using the URL as the cache key.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache to store the downloaded data.
urlUriThe URL to download from.
methodHttpMethod?The HTTP method to use for the request.

Returns: IObservable -- An observable that emits the downloaded byte data.

9. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, Uri url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads data from a URL and caches it, using the URL as the cache key.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache to store the downloaded data.
urlUriThe URL to download from.
methodHttpMethod?The HTTP method to use for the request.
headersIEnumerable>?Optional HTTP headers to include in the request.

Returns: IObservable -- An observable that emits the downloaded byte data.

10. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, Uri url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers, bool fetchAlways)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads data from a URL and caches it, using the URL as the cache key.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache to store the downloaded data.
urlUriThe URL to download from.
methodHttpMethod?The HTTP method to use for the request.
headersIEnumerable>?Optional HTTP headers to include in the request.
fetchAlwaysboolA value indicating whether to always fetch from the web, bypassing the cache.

Returns: IObservable -- An observable that emits the downloaded byte data.

11. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, Uri url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers, bool fetchAlways, DateTimeOffset? absoluteExpiration)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads data from a URL and caches it, using the URL as the cache key.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache to store the downloaded data.
urlUriThe URL to download from.
methodHttpMethod?The HTTP method to use for the request.
headersIEnumerable>?Optional HTTP headers to include in the request.
fetchAlwaysboolA value indicating whether to always fetch from the web, bypassing the cache.
absoluteExpirationDateTimeOffset?An optional expiration date for the cached data.

Returns: IObservable -- An observable that emits the downloaded byte data.

12. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, Uri url, bool fetchAlways)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads a URL, optionally bypassing the cache, using the default method and no extra headers.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The cache to read from and write to.
urlUriThe URL to download.
fetchAlwaysboolWhether to bypass the cache and always fetch.

Returns: IObservable -- An observable that emits the downloaded bytes.

13. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, string url)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads data from a URL and caches it using a custom cache key.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache to store the downloaded data.
keystringThe custom key to use for the cache entry.
urlstringThe URL to download from.

Returns: IObservable -- An observable that emits the downloaded byte data.

14. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, string url, HttpMethod? method)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads data from a URL and caches it using a custom cache key.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache to store the downloaded data.
keystringThe custom key to use for the cache entry.
urlstringThe URL to download from.
methodHttpMethod?The HTTP method to use for the request.

Returns: IObservable -- An observable that emits the downloaded byte data.

15. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, string url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads data from a URL and caches it using a custom cache key.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache to store the downloaded data.
keystringThe custom key to use for the cache entry.
urlstringThe URL to download from.
methodHttpMethod?The HTTP method to use for the request.
headersIEnumerable>?Optional HTTP headers to include in the request.

Returns: IObservable -- An observable that emits the downloaded byte data.

16. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, string url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers, bool fetchAlways)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads data from a URL and caches it using a custom cache key.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache to store the downloaded data.
keystringThe custom key to use for the cache entry.
urlstringThe URL to download from.
methodHttpMethod?The HTTP method to use for the request.
headersIEnumerable>?Optional HTTP headers to include in the request.
fetchAlwaysboolA value indicating whether to always fetch from the web, bypassing the cache.

Returns: IObservable -- An observable that emits the downloaded byte data.

17. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, string url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers, bool fetchAlways, DateTimeOffset? absoluteExpiration)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads data from a URL and caches it using a custom cache key.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache to store the downloaded data.
keystringThe custom key to use for the cache entry.
urlstringThe URL to download from.
methodHttpMethod?The HTTP method to use for the request.
headersIEnumerable>?Optional HTTP headers to include in the request.
fetchAlwaysboolA value indicating whether to always fetch from the web, bypassing the cache.
absoluteExpirationDateTimeOffset?An optional expiration date for the cached data.

Returns: IObservable -- An observable that emits the downloaded byte data.

18. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, string url, bool fetchAlways)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads a URL under an explicit cache key, optionally bypassing the cache.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The cache to read from and write to.
keystringThe cache key to store the response under.
urlstringThe URL to download.
fetchAlwaysboolWhether to bypass the cache and always fetch.

Returns: IObservable -- An observable that emits the downloaded bytes.

19. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, Uri url)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads data from a URL and caches it using a custom cache key.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache to store the downloaded data.
keystringThe custom key to use for the cache entry.
urlUriThe URL to download from.

Returns: IObservable -- An observable that emits the downloaded byte data.

20. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, Uri url, HttpMethod? method)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads data from a URL and caches it using a custom cache key.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache to store the downloaded data.
keystringThe custom key to use for the cache entry.
urlUriThe URL to download from.
methodHttpMethod?The HTTP method to use for the request.

Returns: IObservable -- An observable that emits the downloaded byte data.

21. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, Uri url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads data from a URL and caches it using a custom cache key.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache to store the downloaded data.
keystringThe custom key to use for the cache entry.
urlUriThe URL to download from.
methodHttpMethod?The HTTP method to use for the request.
headersIEnumerable>?Optional HTTP headers to include in the request.

Returns: IObservable -- An observable that emits the downloaded byte data.

22. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, Uri url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers, bool fetchAlways)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads data from a URL and caches it using a custom cache key.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache to store the downloaded data.
keystringThe custom key to use for the cache entry.
urlUriThe URL to download from.
methodHttpMethod?The HTTP method to use for the request.
headersIEnumerable>?Optional HTTP headers to include in the request.
fetchAlwaysboolA value indicating whether to always fetch from the web, bypassing the cache.

Returns: IObservable -- An observable that emits the downloaded byte data.

23. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, Uri url, HttpMethod? method, IEnumerable<KeyValuePair<string, string>>? headers, bool fetchAlways, DateTimeOffset? absoluteExpiration)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads data from a URL and caches it using a custom cache key.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The blob cache to store the downloaded data.
keystringThe custom key to use for the cache entry.
urlUriThe URL to download from.
methodHttpMethod?The HTTP method to use for the request.
headersIEnumerable>?Optional HTTP headers to include in the request.
fetchAlwaysboolA value indicating whether to always fetch from the web, bypassing the cache.
absoluteExpirationDateTimeOffset?An optional expiration date for the cached data.

Returns: IObservable -- An observable that emits the downloaded byte data.

24. Overload

public IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, Uri url, bool fetchAlways)

View source

Inherited documentation

These docs were inherited from IHttpService. The member doesn't override them on this type.

Summary: Downloads a URL under an explicit cache key, optionally bypassing the cache.

Parameters

NameTypeDescription
blobCache[IBlobCache](#The cache to read from and write to.
keystringThe cache key to store the response under.
urlUriThe URL to download.
fetchAlwaysboolWhether to bypass the cache and always fetch.

Returns: IObservable -- An observable that emits the downloaded bytes.