Compartilhar via


HttpConnection Construtores

Definição

Sobrecargas

HttpConnection(Uri)

Inicializa uma nova instância da classe HttpConnection.

HttpConnection(HttpConnectionOptions, ILoggerFactory)

Inicializa uma nova instância da classe HttpConnection.

HttpConnection(Uri, HttpTransportType)

Inicializa uma nova instância da classe HttpConnection.

HttpConnection(Uri, HttpTransportType, ILoggerFactory)

Inicializa uma nova instância da classe HttpConnection.

HttpConnection(Uri)

Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs

Inicializa uma nova instância da classe HttpConnection.

public:
 HttpConnection(Uri ^ url);
public HttpConnection (Uri url);
new Microsoft.AspNetCore.Http.Connections.Client.HttpConnection : Uri -> Microsoft.AspNetCore.Http.Connections.Client.HttpConnection
Public Sub New (url As Uri)

Parâmetros

url
Uri

A URL à qual conectar.

Aplica-se a

HttpConnection(HttpConnectionOptions, ILoggerFactory)

Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs

Inicializa uma nova instância da classe HttpConnection.

public:
 HttpConnection(Microsoft::AspNetCore::Http::Connections::Client::HttpConnectionOptions ^ httpConnectionOptions, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public HttpConnection (Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions httpConnectionOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
public HttpConnection (Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions httpConnectionOptions, Microsoft.Extensions.Logging.ILoggerFactory? loggerFactory);
new Microsoft.AspNetCore.Http.Connections.Client.HttpConnection : Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Http.Connections.Client.HttpConnection
Public Sub New (httpConnectionOptions As HttpConnectionOptions, loggerFactory As ILoggerFactory)

Parâmetros

httpConnectionOptions
HttpConnectionOptions

As opções de conexão a serem usadas.

loggerFactory
ILoggerFactory

A fábrica do agente.

Aplica-se a

HttpConnection(Uri, HttpTransportType)

Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs

Inicializa uma nova instância da classe HttpConnection.

public:
 HttpConnection(Uri ^ url, Microsoft::AspNetCore::Http::Connections::HttpTransportType transports);
public HttpConnection (Uri url, Microsoft.AspNetCore.Http.Connections.HttpTransportType transports);
new Microsoft.AspNetCore.Http.Connections.Client.HttpConnection : Uri * Microsoft.AspNetCore.Http.Connections.HttpTransportType -> Microsoft.AspNetCore.Http.Connections.Client.HttpConnection
Public Sub New (url As Uri, transports As HttpTransportType)

Parâmetros

url
Uri

A URL à qual conectar.

transports
HttpTransportType

Uma máscara de bits combinando um ou mais HttpTransportType valores que especificam quais transportes o cliente deve usar.

Aplica-se a

HttpConnection(Uri, HttpTransportType, ILoggerFactory)

Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs
Origem:
HttpConnection.cs

Inicializa uma nova instância da classe HttpConnection.

public:
 HttpConnection(Uri ^ url, Microsoft::AspNetCore::Http::Connections::HttpTransportType transports, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public HttpConnection (Uri url, Microsoft.AspNetCore.Http.Connections.HttpTransportType transports, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
public HttpConnection (Uri url, Microsoft.AspNetCore.Http.Connections.HttpTransportType transports, Microsoft.Extensions.Logging.ILoggerFactory? loggerFactory);
new Microsoft.AspNetCore.Http.Connections.Client.HttpConnection : Uri * Microsoft.AspNetCore.Http.Connections.HttpTransportType * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Http.Connections.Client.HttpConnection
Public Sub New (url As Uri, transports As HttpTransportType, loggerFactory As ILoggerFactory)

Parâmetros

url
Uri

A URL à qual conectar.

transports
HttpTransportType

Uma máscara de bits combinando um ou mais HttpTransportType valores que especificam quais transportes o cliente deve usar.

loggerFactory
ILoggerFactory

A fábrica do agente.

Aplica-se a