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

net11.0, net11.0-maccatalyst27.2, net11.0-windows10.0.19041, net11.0-macos27.2, net11.0-android37.0, 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 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](#Akavache.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