Interface IHttpClientFactory
Defines the factory.
Namespace: StylelabsStylelabs.MSdkWebClientHttp
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
RequestResponse
public interface IHttpClientFactory
Methods
CreateHttpClient(Uri, IDelegatingHandlerFactory)
Creates an .
Declaration
RequestResponse
HttpClient CreateHttpClient(Uri endpoint, IDelegatingHandlerFactory handlerFactory)
Parameters
Type | Name | Description |
---|---|---|
Uri | endpoint |
The endpoint. |
IDelegatingHandlerFactory | handlerFactory |
The handler factory. |
Returns
Type | Description |
---|---|
HttpClient |
A instance of . |