Partager via


HttpConnection Constructeurs

Définition

Surcharges

HttpConnection(Uri)

Initialise une nouvelle instance de la classe HttpConnection.

HttpConnection(HttpConnectionOptions, ILoggerFactory)

Initialise une nouvelle instance de la classe HttpConnection.

HttpConnection(Uri, HttpTransportType)

Initialise une nouvelle instance de la classe HttpConnection.

HttpConnection(Uri, HttpTransportType, ILoggerFactory)

Initialise une nouvelle instance de la classe HttpConnection.

HttpConnection(Uri)

Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs

Initialise une nouvelle instance de la 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)

Paramètres

url
Uri

URL vers laquelle la connexion doit être effectuée.

S’applique à

HttpConnection(HttpConnectionOptions, ILoggerFactory)

Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs

Initialise une nouvelle instance de la 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)

Paramètres

httpConnectionOptions
HttpConnectionOptions

Options de connexion à utiliser.

loggerFactory
ILoggerFactory

Fabrique du journaliseur.

S’applique à

HttpConnection(Uri, HttpTransportType)

Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs

Initialise une nouvelle instance de la 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)

Paramètres

url
Uri

URL vers laquelle la connexion doit être effectuée.

transports
HttpTransportType

Masque de bits combinant une ou plusieurs HttpTransportType valeurs qui spécifient les transports que le client doit utiliser.

S’applique à

HttpConnection(Uri, HttpTransportType, ILoggerFactory)

Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs
Source:
HttpConnection.cs

Initialise une nouvelle instance de la 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)

Paramètres

url
Uri

URL vers laquelle la connexion doit être effectuée.

transports
HttpTransportType

Masque de bits combinant une ou plusieurs HttpTransportType valeurs qui spécifient les transports que le client doit utiliser.

loggerFactory
ILoggerFactory

Fabrique du journaliseur.

S’applique à