@FunctionalInterface public interface HttpClientProvider
HttpClient
implementation.| Modifier and Type | Method and Description |
|---|---|
HttpClient |
createInstance()
Creates a new instance of the
HttpClient that this HttpClientProvider is configured to create. |
default HttpClient |
createInstance(HttpClientOptions clientOptions)
Creates a new instance of the
HttpClient that this HttpClientProvider is configured to create. |
HttpClient createInstance()
HttpClient that this HttpClientProvider is configured to create.HttpClient instance, entirely unrelated to all other instances that were created
previously.default HttpClient createInstance(HttpClientOptions clientOptions)
HttpClient that this HttpClientProvider is configured to create.clientOptions - Configuration options applied to the created HttpClient.HttpClient instance, entirely unrelated to all other instances that were created
previously.Copyright © 2021 Microsoft Corporation. All rights reserved.