Table of Contents

Interface IAkavacheHttpMixin

Namespace
Akavache
Assembly
Akavache.Core.dll

A interface that represents a mixin for providing HTTP functionality.

public interface IAkavacheHttpMixin
Extension Methods
WhenAnyMixin.WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(TSender?, Expression<Func<TSender, T1>>, Expression<Func<TSender, T2>>, Expression<Func<TSender, T3>>, Expression<Func<TSender, T4>>, Expression<Func<TSender, T5>>, Expression<Func<TSender, T6>>, Expression<Func<TSender, T7>>, Expression<Func<TSender, T8>>, Expression<Func<TSender, T9>>, Expression<Func<TSender, T10>>, Expression<Func<TSender, T11>>, Expression<Func<TSender, T12>>, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, IObservedChange<TSender, T10>, IObservedChange<TSender, T11>, IObservedChange<TSender, T12>, TRet>)
WhenAnyMixin.WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(TSender?, Expression<Func<TSender, T1>>, Expression<Func<TSender, T2>>, Expression<Func<TSender, T3>>, Expression<Func<TSender, T4>>, Expression<Func<TSender, T5>>, Expression<Func<TSender, T6>>, Expression<Func<TSender, T7>>, Expression<Func<TSender, T8>>, Expression<Func<TSender, T9>>, Expression<Func<TSender, T10>>, Expression<Func<TSender, T11>>, Expression<Func<TSender, T12>>, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, IObservedChange<TSender, T10>, IObservedChange<TSender, T11>, IObservedChange<TSender, T12>, TRet>)
WhenAnyMixin.WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(TSender?, Expression<Func<TSender, T1>>, Expression<Func<TSender, T2>>, Expression<Func<TSender, T3>>, Expression<Func<TSender, T4>>, Expression<Func<TSender, T5>>, Expression<Func<TSender, T6>>, Expression<Func<TSender, T7>>, Expression<Func<TSender, T8>>, Expression<Func<TSender, T9>>, Expression<Func<TSender, T10>>, Expression<Func<TSender, T11>>, Expression<Func<TSender, T12>>, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, IObservedChange<TSender, T10>, IObservedChange<TSender, T11>, IObservedChange<TSender, T12>, TRet>)
WhenAnyMixin.WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(TSender?, Expression<Func<TSender, T1>>, Expression<Func<TSender, T2>>, Expression<Func<TSender, T3>>, Expression<Func<TSender, T4>>, Expression<Func<TSender, T5>>, Expression<Func<TSender, T6>>, Expression<Func<TSender, T7>>, Expression<Func<TSender, T8>>, Expression<Func<TSender, T9>>, Expression<Func<TSender, T10>>, Expression<Func<TSender, T11>>, Expression<Func<TSender, T12>>, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, IObservedChange<TSender, T10>, IObservedChange<TSender, T11>, IObservedChange<TSender, T12>, TRet>)

Methods

DownloadUrl(IBlobCache, HttpMethod, string, IDictionary<string, string>?, bool, DateTimeOffset?)

Gets a observable for a download.

IObservable<byte[]> DownloadUrl(IBlobCache blobCache, HttpMethod method, string url, IDictionary<string, string>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null)

Parameters

blobCache IBlobCache

The blob cache where to get the value from if available.

method HttpMethod

The type of method.

url string

The url where to get the resource if not available in the cache.

headers IDictionary<string, string>

The headers to use in the HTTP action.

fetchAlways bool

If we should just fetch and not bother checking the cache first.

absoluteExpiration DateTimeOffset?

A optional expiration date time.

Returns

IObservable<byte[]>

A observable that signals when there is byte data.

DownloadUrl(IBlobCache, HttpMethod, string, string, IDictionary<string, string>?, bool, DateTimeOffset?)

Gets a observable for a download.

IObservable<byte[]> DownloadUrl(IBlobCache blobCache, HttpMethod method, string key, string url, IDictionary<string, string>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null)

Parameters

blobCache IBlobCache

The blob cache where to get the value from if available.

method HttpMethod

The type of method.

key string

The key to use for the download cache entry.

url string

The url where to get the resource if not available in the cache.

headers IDictionary<string, string>

The headers to use in the HTTP action.

fetchAlways bool

If we should just fetch and not bother checking the cache first.

absoluteExpiration DateTimeOffset?

A optional expiration date time.

Returns

IObservable<byte[]>

A observable that signals when there is byte data.

DownloadUrl(IBlobCache, HttpMethod, string, Uri, IDictionary<string, string>?, bool, DateTimeOffset?)

Gets a observable for a download.

IObservable<byte[]> DownloadUrl(IBlobCache blobCache, HttpMethod method, string key, Uri url, IDictionary<string, string>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null)

Parameters

blobCache IBlobCache

The blob cache where to get the value from if available.

method HttpMethod

The type of method.

key string

The key to use for the download cache entry.

url Uri

The url where to get the resource if not available in the cache.

headers IDictionary<string, string>

The headers to use in the HTTP action.

fetchAlways bool

If we should just fetch and not bother checking the cache first.

absoluteExpiration DateTimeOffset?

A optional expiration date time.

Returns

IObservable<byte[]>

A observable that signals when there is byte data.

DownloadUrl(IBlobCache, HttpMethod, Uri, IDictionary<string, string>?, bool, DateTimeOffset?)

Gets a observable for a download.

IObservable<byte[]> DownloadUrl(IBlobCache blobCache, HttpMethod method, Uri url, IDictionary<string, string>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null)

Parameters

blobCache IBlobCache

The blob cache where to get the value from if available.

method HttpMethod

The type of method.

url Uri

The url where to get the resource if not available in the cache.

headers IDictionary<string, string>

The headers to use in the HTTP action.

fetchAlways bool

If we should just fetch and not bother checking the cache first.

absoluteExpiration DateTimeOffset?

A optional expiration date time.

Returns

IObservable<byte[]>

A observable that signals when there is byte data.

DownloadUrl(IBlobCache, string, IDictionary<string, string>?, bool, DateTimeOffset?)

Gets a observable for a download.

IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string url, IDictionary<string, string>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null)

Parameters

blobCache IBlobCache

The blob cache where to get the value from if available.

url string

The url where to get the resource if not available in the cache.

headers IDictionary<string, string>

The headers to use in the HTTP action.

fetchAlways bool

If we should just fetch and not bother checking the cache first.

absoluteExpiration DateTimeOffset?

A optional expiration date time.

Returns

IObservable<byte[]>

A observable that signals when there is byte data.

DownloadUrl(IBlobCache, string, string, IDictionary<string, string>?, bool, DateTimeOffset?)

Gets a observable for a download.

IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, string url, IDictionary<string, string>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null)

Parameters

blobCache IBlobCache

The blob cache where to get the value from if available.

key string

The key to use for the download cache entry.

url string

The url where to get the resource if not available in the cache.

headers IDictionary<string, string>

The headers to use in the HTTP action.

fetchAlways bool

If we should just fetch and not bother checking the cache first.

absoluteExpiration DateTimeOffset?

A optional expiration date time.

Returns

IObservable<byte[]>

A observable that signals when there is byte data.

DownloadUrl(IBlobCache, string, Uri, IDictionary<string, string>?, bool, DateTimeOffset?)

Gets a observable for a download.

IObservable<byte[]> DownloadUrl(IBlobCache blobCache, string key, Uri url, IDictionary<string, string>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null)

Parameters

blobCache IBlobCache

The blob cache where to get the value from if available.

key string

The key to use for the download cache entry.

url Uri

The url where to get the resource if not available in the cache.

headers IDictionary<string, string>

The headers to use in the HTTP action.

fetchAlways bool

If we should just fetch and not bother checking the cache first.

absoluteExpiration DateTimeOffset?

A optional expiration date time.

Returns

IObservable<byte[]>

A observable that signals when there is byte data.

DownloadUrl(IBlobCache, Uri, IDictionary<string, string>?, bool, DateTimeOffset?)

Gets a observable for a download.

IObservable<byte[]> DownloadUrl(IBlobCache blobCache, Uri url, IDictionary<string, string>? headers = null, bool fetchAlways = false, DateTimeOffset? absoluteExpiration = null)

Parameters

blobCache IBlobCache

The blob cache where to get the value from if available.

url Uri

The url where to get the resource if not available in the cache.

headers IDictionary<string, string>

The headers to use in the HTTP action.

fetchAlways bool

If we should just fetch and not bother checking the cache first.

absoluteExpiration DateTimeOffset?

A optional expiration date time.

Returns

IObservable<byte[]>

A observable that signals when there is byte data.