public interface HttpClientFactory extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Awaits completion of in-flight requests, then closes shared resources associated with this HttpClient.Factory.
|
HttpClient |
create(HttpClientConfiguration configuration)
Creates an HttpClient with the given Configuration.
|
HttpClient create(HttpClientConfiguration configuration)
configuration - the configuration.void close()
close in interface AutoCloseableclose in interface Closeable/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/