HttpManager Constructor
Definition
HttpManager(Action<HttpManagerOptions>)
Initializes a new instance of the HttpManager class.
public HttpManager(Action<HttpManagerOptions> setup = null)
Parameters
setupAction<HttpManagerOptions>The HttpManagerOptions which may be configured.
Exceptions
- ArgumentNullException
The HandlerFactory of the
setupdelegate cannot be null.
HttpManager(Func<HttpClient>)
Initializes a new instance of the HttpManager class.
public HttpManager(Func<HttpClient> clientFactory)
Parameters
clientFactoryFunc<HttpClient>The function delegate that creates and configures an HttpClient instance.