Interface IAkavacheHttpClientFactory
- Namespace
- Akavache
- Assembly
- Akavache.Core.dll
A factory abstraction for a component that can create HttpClient instances with custom configuration for a given logical name.
public interface IAkavacheHttpClientFactory
- Extension Methods
Methods
CreateClient(string)
Creates and configures an HttpClient instance using the configuration that corresponds to the logical name specified by name.
HttpClient CreateClient(string name)
Parameters
name
stringThe logical name of the client to create.
Returns
- HttpClient
A new HttpClient instance.