Skip to content

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

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

Defined in

Type: RelativeTimeDownloadExtensions 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 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