HttpConnection Konstruktoren

Definition

Überlädt

HttpConnection(Uri)

Initialisiert eine neue Instanz der HttpConnection-Klasse.

HttpConnection(HttpConnectionOptions, ILoggerFactory)

Initialisiert eine neue Instanz der HttpConnection-Klasse.

HttpConnection(Uri, HttpTransportType)

Initialisiert eine neue Instanz der HttpConnection-Klasse.

HttpConnection(Uri, HttpTransportType, ILoggerFactory)

Initialisiert eine neue Instanz der HttpConnection-Klasse.

HttpConnection(Uri)

Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs

Initialisiert eine neue Instanz der HttpConnection-Klasse.

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)

Parameter

url
Uri

Die URL, mit der eine Verbindung hergestellt werden soll.

Gilt für:

HttpConnection(HttpConnectionOptions, ILoggerFactory)

Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs

Initialisiert eine neue Instanz der HttpConnection-Klasse.

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)

Parameter

httpConnectionOptions
HttpConnectionOptions

Die zu verwendenden Verbindungsoptionen.

loggerFactory
ILoggerFactory

Die Protokollierungsfactory.

Gilt für:

HttpConnection(Uri, HttpTransportType)

Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs

Initialisiert eine neue Instanz der HttpConnection-Klasse.

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)

Parameter

url
Uri

Die URL, mit der eine Verbindung hergestellt werden soll.

transports
HttpTransportType

Eine Bitmaske, die einen oder HttpTransportType mehrere Werte kombiniert, die angeben, welche Transporte der Client verwenden soll.

Gilt für:

HttpConnection(Uri, HttpTransportType, ILoggerFactory)

Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs
Quelle:
HttpConnection.cs

Initialisiert eine neue Instanz der HttpConnection-Klasse.

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)

Parameter

url
Uri

Die URL, mit der eine Verbindung hergestellt werden soll.

transports
HttpTransportType

Eine Bitmaske, die einen oder HttpTransportType mehrere Werte kombiniert, die angeben, welche Transporte der Client verwenden soll.

loggerFactory
ILoggerFactory

Die Protokollierungsfactory.

Gilt für: