Skip to content

})} },System.Boolean)} })} },System.Boolean)}

RelativeTimeDownloadExtensions.DownloadUrl(IBlobCache, string, HttpMethod, TimeSpan) method

Defined in

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

Applies to

net10.0, net10.0-ios26.0, net10.0-android36.0, net10.0-maccatalyst26.0, net10.0-macos26.0, net10.0-windows10.0.19041, net9.0, net9.0-windows10.0.19041, net8.0, net8.0-windows10.0.19041, net462, net481

Overloads

  1. public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, string url, HttpMethod httpMethod, TimeSpan expiration)

  2. public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, string url, HttpMethod httpMethod, TimeSpan expiration, IEnumerable<KeyValuePair<string, string>>? headers)

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

  4. public static IObservable<byte[]> DownloadUrl(this IBlobCache blobCache, Uri url, HttpMethod httpMethod, TimeSpan expiration)

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

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

1. Overload

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

View source

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlstring--
httpMethodHttpMethod--
expirationTimeSpan--

Returns: IObservable

2. Overload

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

View source

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlstring--
httpMethodHttpMethod--
expirationTimeSpan--
headersIEnumerable>?--

Returns: IObservable

3. Overload

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

View source

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlstring--
httpMethodHttpMethod--
expirationTimeSpan--
headersIEnumerable>?--
fetchAlwaysbool--

Returns: IObservable

4. Overload

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

View source

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlUri--
httpMethodHttpMethod--
expirationTimeSpan--

Returns: IObservable

5. Overload

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

View source

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlUri--
httpMethodHttpMethod--
expirationTimeSpan--
headersIEnumerable>?--

Returns: IObservable

6. Overload

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

View source

Parameters

NameTypeDescription
blobCache[IBlobCache](#--
urlUri--
httpMethodHttpMethod--
expirationTimeSpan--
headersIEnumerable>?--
fetchAlwaysbool--

Returns: IObservable