public class HttpPipelineOptions extends Object
| Constructor and Description |
|---|
HttpPipelineOptions() |
| Modifier and Type | Method and Description |
|---|---|
HttpPipelineOptions |
withHttpClient(HttpClient httpClient)
Configure the HttpClient that will be used for the created HttpPipeline.
|
HttpPipelineOptions |
withLogger(HttpPipelineLogger logger)
Configure the Logger that will be used for each RequestPolicy within the created
HttpPipeline.
|
public HttpPipelineOptions withHttpClient(HttpClient httpClient)
httpClient - the HttpClient to use for the created HttpPipeline.public HttpPipelineOptions withLogger(HttpPipelineLogger logger)
logger - The Logger to provide to each RequestPolicy./**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/