Class HttpClientHandlerFactory
Provides a method to create the primary
Inheritance
System.Object
HttpClientHandlerFactory
Namespace: Steeltoe.Common.Http.HttpClientPooling
Assembly: Steeltoe.Common.Http.dll
Syntax
public sealed class HttpClientHandlerFactory : object
Methods
| Edit this page View SourceCreate()
Creates a new
Declaration
public HttpClientHandler Create()
Returns
Type | Description |
---|---|
HttpClientHandler |
Using(HttpClientHandler)
Uses an existing
Declaration
public HttpClientHandlerFactory Using(HttpClientHandler handler)
Parameters
Type | Name | Description |
---|---|---|
HttpClientHandler | handler | The handler to return from Create(). |
Returns
Type | Description |
---|---|
HttpClientHandlerFactory |