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})}

HttpExtensions.DownloadUrl(IBlobCache, string, string, bool, DateTimeOffset?) method

Defined in

Type: HttpExtensions Namespace: Akavache Assembly: Akavache.HttpDownloader.dll

Applies to

net11.0, net11.0-maccatalyst27.2, net11.0-android37.0, net11.0-macos27.2, net11.0-windows10.0.19041, net11.0-ios27.2, net10.0, net10.0-macos26.0, net10.0-windows10.0.19041, net10.0-maccatalyst26.0, net10.0-ios26.0, net10.0-android36.0, net48, net47, net471, net472, net481

Overloads

  1. public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, string key, string url, bool fetchAlways, DateTimeOffset? absoluteExpiration)

  2. public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, string url, bool fetchAlways, DateTimeOffset? absoluteExpiration)

  3. public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, string key, Uri url, bool fetchAlways, DateTimeOffset? absoluteExpiration)

  4. public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, Uri url, bool fetchAlways, DateTimeOffset? absoluteExpiration)

  5. public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, string key, string url, DateTimeOffset? absoluteExpiration)

  6. public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, string url, DateTimeOffset? absoluteExpiration)

  7. public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, string key, Uri url, DateTimeOffset? absoluteExpiration)

  8. public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, Uri url, DateTimeOffset? absoluteExpiration)

  9. public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, string url)

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

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

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

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

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

  15. public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, Uri url)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

1. Overload

public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, string key, string url, bool fetchAlways, DateTimeOffset? absoluteExpiration)

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#Akavache.IBlobCache)--
keystring (opens in a new tab)--
urlstring (opens in a new tab)--
fetchAlwaysbool (opens in a new tab)--
absoluteExpirationDateTimeOffset? (opens in a new tab)--

Returns: IObservable (opens in a new tab)

2. Overload

public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, string url, bool fetchAlways, DateTimeOffset? absoluteExpiration)

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlstring (opens in a new tab)--
fetchAlwaysbool (opens in a new tab)--
absoluteExpirationDateTimeOffset? (opens in a new tab)--

Returns: IObservable (opens in a new tab)

3. Overload

public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, string key, Uri url, bool fetchAlways, DateTimeOffset? absoluteExpiration)

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
keystring (opens in a new tab)--
urlUri (opens in a new tab)--
fetchAlwaysbool (opens in a new tab)--
absoluteExpirationDateTimeOffset? (opens in a new tab)--

Returns: IObservable (opens in a new tab)

4. Overload

public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, Uri url, bool fetchAlways, DateTimeOffset? absoluteExpiration)

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlUri (opens in a new tab)--
fetchAlwaysbool (opens in a new tab)--
absoluteExpirationDateTimeOffset? (opens in a new tab)--

Returns: IObservable (opens in a new tab)

5. Overload

public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, string key, string url, DateTimeOffset? absoluteExpiration)

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
keystring (opens in a new tab)--
urlstring (opens in a new tab)--
absoluteExpirationDateTimeOffset? (opens in a new tab)--

Returns: IObservable (opens in a new tab)

6. Overload

public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, string url, DateTimeOffset? absoluteExpiration)

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlstring (opens in a new tab)--
absoluteExpirationDateTimeOffset? (opens in a new tab)--

Returns: IObservable (opens in a new tab)

7. Overload

public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, string key, Uri url, DateTimeOffset? absoluteExpiration)

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
keystring (opens in a new tab)--
urlUri (opens in a new tab)--
absoluteExpirationDateTimeOffset? (opens in a new tab)--

Returns: IObservable (opens in a new tab)

8. Overload

public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, Uri url, DateTimeOffset? absoluteExpiration)

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlUri (opens in a new tab)--
absoluteExpirationDateTimeOffset? (opens in a new tab)--

Returns: IObservable (opens in a new tab)

9. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlstring (opens in a new tab)--

Returns: IObservable (opens in a new tab)

10. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlstring (opens in a new tab)--
methodHttpMethod? (opens in a new tab)--

Returns: IObservable (opens in a new tab)

11. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlstring (opens in a new tab)--
methodHttpMethod? (opens in a new tab)--
headersIEnumerable>? (opens in a new tab)--

Returns: IObservable (opens in a new tab)

12. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlstring (opens in a new tab)--
methodHttpMethod? (opens in a new tab)--
headersIEnumerable>? (opens in a new tab)--
fetchAlwaysbool (opens in a new tab)--

Returns: IObservable (opens in a new tab)

13. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlstring (opens in a new tab)--
methodHttpMethod? (opens in a new tab)--
headersIEnumerable>? (opens in a new tab)--
fetchAlwaysbool (opens in a new tab)--
absoluteExpirationDateTimeOffset? (opens in a new tab)--

Returns: IObservable (opens in a new tab)

14. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlstring (opens in a new tab)--
fetchAlwaysbool (opens in a new tab)--

Returns: IObservable (opens in a new tab)

15. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlUri (opens in a new tab)--

Returns: IObservable (opens in a new tab)

16. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlUri (opens in a new tab)--
methodHttpMethod? (opens in a new tab)--

Returns: IObservable (opens in a new tab)

17. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlUri (opens in a new tab)--
methodHttpMethod? (opens in a new tab)--
headersIEnumerable>? (opens in a new tab)--

Returns: IObservable (opens in a new tab)

18. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlUri (opens in a new tab)--
methodHttpMethod? (opens in a new tab)--
headersIEnumerable>? (opens in a new tab)--
fetchAlwaysbool (opens in a new tab)--

Returns: IObservable (opens in a new tab)

19. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlUri (opens in a new tab)--
methodHttpMethod? (opens in a new tab)--
headersIEnumerable>? (opens in a new tab)--
fetchAlwaysbool (opens in a new tab)--
absoluteExpirationDateTimeOffset? (opens in a new tab)--

Returns: IObservable (opens in a new tab)

20. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlUri (opens in a new tab)--
fetchAlwaysbool (opens in a new tab)--

Returns: IObservable (opens in a new tab)

21. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
keystring (opens in a new tab)--
urlstring (opens in a new tab)--

Returns: IObservable (opens in a new tab)

22. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
keystring (opens in a new tab)--
urlstring (opens in a new tab)--
methodHttpMethod? (opens in a new tab)--

Returns: IObservable (opens in a new tab)

23. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
keystring (opens in a new tab)--
urlstring (opens in a new tab)--
methodHttpMethod? (opens in a new tab)--
headersIEnumerable>? (opens in a new tab)--

Returns: IObservable (opens in a new tab)

24. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
keystring (opens in a new tab)--
urlstring (opens in a new tab)--
methodHttpMethod? (opens in a new tab)--
headersIEnumerable>? (opens in a new tab)--
fetchAlwaysbool (opens in a new tab)--

Returns: IObservable (opens in a new tab)

25. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
keystring (opens in a new tab)--
urlstring (opens in a new tab)--
methodHttpMethod? (opens in a new tab)--
headersIEnumerable>? (opens in a new tab)--
fetchAlwaysbool (opens in a new tab)--
absoluteExpirationDateTimeOffset? (opens in a new tab)--

Returns: IObservable (opens in a new tab)

26. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
keystring (opens in a new tab)--
urlstring (opens in a new tab)--
fetchAlwaysbool (opens in a new tab)--

Returns: IObservable (opens in a new tab)

27. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
keystring (opens in a new tab)--
urlUri (opens in a new tab)--

Returns: IObservable (opens in a new tab)

28. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
keystring (opens in a new tab)--
urlUri (opens in a new tab)--
methodHttpMethod? (opens in a new tab)--

Returns: IObservable (opens in a new tab)

29. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
keystring (opens in a new tab)--
urlUri (opens in a new tab)--
methodHttpMethod? (opens in a new tab)--
headersIEnumerable>? (opens in a new tab)--

Returns: IObservable (opens in a new tab)

30. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
keystring (opens in a new tab)--
urlUri (opens in a new tab)--
methodHttpMethod? (opens in a new tab)--
headersIEnumerable>? (opens in a new tab)--
fetchAlwaysbool (opens in a new tab)--

Returns: IObservable (opens in a new tab)

31. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
keystring (opens in a new tab)--
urlUri (opens in a new tab)--
methodHttpMethod? (opens in a new tab)--
headersIEnumerable>? (opens in a new tab)--
fetchAlwaysbool (opens in a new tab)--
absoluteExpirationDateTimeOffset? (opens in a new tab)--

Returns: IObservable (opens in a new tab)

32. Overload

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

View source (opens in a new tab)

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
keystring (opens in a new tab)--
urlUri (opens in a new tab)--
fetchAlwaysbool (opens in a new tab)--

Returns: IObservable (opens in a new tab)