Class DefaultAkavacheHttpClientFactory
- Namespace
- Akavache
- Assembly
- Akavache.Core.dll
The default http client factory. Can be replaced with for example the Microsoft Http Client factory.
public class DefaultAkavacheHttpClientFactory : IAkavacheHttpClientFactory
- Inheritance
-
DefaultAkavacheHttpClientFactory
- Implements
- Extension Methods
Constructors
DefaultAkavacheHttpClientFactory()
public DefaultAkavacheHttpClientFactory()
Methods
CreateClient(string)
Creates and configures an HttpClient instance using the configuration that corresponds to the logical name specified by name.
public HttpClient CreateClient(string name)
Parameters
name
stringThe logical name of the client to create.
Returns
- HttpClient
A new HttpClient instance.