Creates instance and initializes values of parameters if provided.
Namespace: Scanjour.Workflow4.Web.Services.Factories
Assembly: Scanjour.Workflow4.Web.Services (in Scanjour.Workflow4.Web.Services.dll) Version: 23.1.0.0 (23.1.0.0)
Syntax
public HttpBasicClientFactory( HttpMessageHandler handler = null, ICredentials credentials = null )
Parameters
- handler (Optional)
- Type: System.Net.HttpHttpMessageHandler
If provided any of types derived from HttpMessageHandler, will be used to initialize HttpClient. - credentials (Optional)
- Type: System.NetICredentials
If provided will create HttpClientHandler with provided credentials.
See Also