Skip to main content

CachedHttpClientExtensions

Assembly: ServiceStack.HttpClient.dll
View Source
Declaration
public static class CachedHttpClientExtensions

Methods

WithCache(JsonHttpClient)

View Source
Declaration
public static IServiceClient WithCache(this JsonHttpClient client)
Returns

ServiceStack.IServiceClient

Parameters
TypeName
ServiceStack.JsonHttpClientclient

WithCache(JsonHttpClient, ConcurrentDictionary<String, HttpCacheEntry>)

View Source
Declaration
public static IServiceClient WithCache(this JsonHttpClient client, ConcurrentDictionary<string, HttpCacheEntry> cache)
Returns

ServiceStack.IServiceClient

Parameters
TypeName
ServiceStack.JsonHttpClientclient
System.Collections.Concurrent.ConcurrentDictionary<System.String,ServiceStack.HttpCacheEntry>cache