HttpClientPipelineTransport Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
Create a new instance of HttpClientPipelineTransport that uses a shared default instance of HttpClient.
public HttpClientPipelineTransport ();
Public Sub New ()
Applies to
HttpClientPipelineTransport(HttpClient)
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
Azure SDK for .NET