Package | Description |
---|---|
com.azure.core.http |
Package containing HTTP abstractions between the AnnotationParser, RestProxy, and HTTP client.
|
Modifier and Type | Method and Description |
---|---|
static HttpClient |
HttpClient.createDefault()
Creates a new
HttpClient instance. |
static HttpClient |
HttpClient.createDefault(HttpClientOptions clientOptions)
Creates a new
HttpClient instance. |
HttpClient |
HttpClientProvider.createInstance()
Creates a new instance of the
HttpClient that this HttpClientProvider is configured to create. |
default HttpClient |
HttpClientProvider.createInstance(HttpClientOptions clientOptions)
Creates a new instance of the
HttpClient that this HttpClientProvider is configured to create. |
HttpClient |
HttpPipeline.getHttpClient()
Get the
HttpClient associated with the pipeline. |
Modifier and Type | Method and Description |
---|---|
HttpPipelineBuilder |
HttpPipelineBuilder.httpClient(HttpClient httpClient)
Sets the HttpClient that the pipeline will use to send requests.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.