Delen via


HttpClientTransport Constructors

Definition

Overloads

HttpClientTransport()

Creates a new HttpClientTransport instance using default configuration.

HttpClientTransport(HttpClient)

Creates a new instance of HttpClientTransport using the provided client instance.

HttpClientTransport(HttpMessageHandler)

Creates a new instance of HttpClientTransport using the provided client instance.

HttpClientTransport()

Source:
HttpClientTransport.cs

Creates a new HttpClientTransport instance using default configuration.

public HttpClientTransport ();
Public Sub New ()

Applies to

HttpClientTransport(HttpClient)

Source:
HttpClientTransport.cs

Creates a new instance of HttpClientTransport using the provided client instance.

public HttpClientTransport (System.Net.Http.HttpClient client);
new Azure.Core.Pipeline.HttpClientTransport : System.Net.Http.HttpClient -> Azure.Core.Pipeline.HttpClientTransport
Public Sub New (client As HttpClient)

Parameters

client
HttpClient

The instance of HttpClient to use.

Applies to

HttpClientTransport(HttpMessageHandler)

Source:
HttpClientTransport.cs

Creates a new instance of HttpClientTransport using the provided client instance.

public HttpClientTransport (System.Net.Http.HttpMessageHandler messageHandler);
new Azure.Core.Pipeline.HttpClientTransport : System.Net.Http.HttpMessageHandler -> Azure.Core.Pipeline.HttpClientTransport
Public Sub New (messageHandler As HttpMessageHandler)

Parameters

messageHandler
HttpMessageHandler

The instance of HttpMessageHandler to use.

Applies to