Sdílet prostřednictvím


HttpConnection Konstruktory

Definice

Přetížení

HttpConnection(Uri)

Inicializuje novou instanci HttpConnection třídy .

HttpConnection(HttpConnectionOptions, ILoggerFactory)

Inicializuje novou instanci HttpConnection třídy .

HttpConnection(Uri, HttpTransportType)

Inicializuje novou instanci HttpConnection třídy .

HttpConnection(Uri, HttpTransportType, ILoggerFactory)

Inicializuje novou instanci HttpConnection třídy .

HttpConnection(Uri)

Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs

Inicializuje novou instanci HttpConnection třídy .

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)

Parametry

url
Uri

Adresa URL, ke které se chcete připojit.

Platí pro

HttpConnection(HttpConnectionOptions, ILoggerFactory)

Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs

Inicializuje novou instanci HttpConnection třídy .

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)

Parametry

httpConnectionOptions
HttpConnectionOptions

Možnosti připojení, které se mají použít.

loggerFactory
ILoggerFactory

Objekt pro vytváření protokolovacího nástroje.

Platí pro

HttpConnection(Uri, HttpTransportType)

Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs

Inicializuje novou instanci HttpConnection třídy .

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)

Parametry

url
Uri

Adresa URL, ke které se chcete připojit.

transports
HttpTransportType

Bitová maska kombinující jednu nebo více HttpTransportType hodnot, které určují, jaké přenosy má klient použít.

Platí pro

HttpConnection(Uri, HttpTransportType, ILoggerFactory)

Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs
Zdroj:
HttpConnection.cs

Inicializuje novou instanci HttpConnection třídy .

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)

Parametry

url
Uri

Adresa URL, ke které se chcete připojit.

transports
HttpTransportType

Bitová maska kombinující jednu nebo více HttpTransportType hodnot, které určují, jaké přenosy má klient použít.

loggerFactory
ILoggerFactory

Objekt pro vytváření protokolovacího nástroje.

Platí pro