Share via


HttpConnectionFactory Constructor

Definition

Initializes a new instance of the HttpConnectionFactory class.

public:
 HttpConnectionFactory(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Http::Connections::Client::HttpConnectionOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public HttpConnectionFactory (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionFactory : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionFactory
Public Sub New (options As IOptions(Of HttpConnectionOptions), loggerFactory As ILoggerFactory)

Parameters

options
IOptions<HttpConnectionOptions>

The connection options.

loggerFactory
ILoggerFactory

The logger factory.

Applies to