Compartilhar via


HttpClientPipelineTransport Constructors

Definition

Overloads

HttpClientPipelineTransport()

Create a new instance of HttpClientPipelineTransport that uses a shared default instance of HttpClient.

HttpClientPipelineTransport(HttpClient)

Create a new instance of HttpClientPipelineTransport that uses the provided HttpClient.

HttpClientPipelineTransport()

Source:
HttpClientPipelineTransport.cs
Source:
HttpClientPipelineTransport.cs

Create a new instance of HttpClientPipelineTransport that uses a shared default instance of HttpClient.

public HttpClientPipelineTransport ();
Public Sub New ()

Applies to

HttpClientPipelineTransport(HttpClient)

Source:
HttpClientPipelineTransport.cs
Source:
HttpClientPipelineTransport.cs

Create a new instance of HttpClientPipelineTransport that uses the provided HttpClient.

public HttpClientPipelineTransport (System.Net.Http.HttpClient client);
new System.ClientModel.Primitives.HttpClientPipelineTransport : System.Net.Http.HttpClient -> System.ClientModel.Primitives.HttpClientPipelineTransport
Public Sub New (client As HttpClient)

Parameters

client
HttpClient

The HttpClient that this transport instance will use to send and receive HTTP requests and responses.

Applies to