| Package | Description |
|---|---|
| com.azure.core.http |
Package containing the HTTP abstractions between the AnnotationParser, RestProxy and HTTP client.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpClient |
HttpClient.createDefault()
Create default HttpClient instance.
|
HttpClient |
HttpPipeline.httpClient()
Get the
HttpClient associated with the pipeline. |
HttpClient |
HttpClient.port(int port)
Set the port that client should connect to.
|
HttpClient |
HttpClient.proxy(Supplier<ProxyOptions> proxyOptions)
Apply the provided proxy configuration to the HttpClient.
|
HttpClient |
HttpClient.wiretap(boolean enableWiretap)
Apply or remove a wire logger configuration.
|
| Modifier and Type | Method and Description |
|---|---|
HttpPipelineBuilder |
HttpPipelineBuilder.httpClient(HttpClient httpClient)
Sets the HttpClient that the pipeline will use to send requests.
|
Copyright © 2019 Microsoft Corporation. All rights reserved.