你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
HttpClientProvider Interface
public interface HttpClientProvider
An interface to be implemented by any azure-core plugin that wishes to provide an alternate HttpClient implementation.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Http |
createInstance()
Creates a new instance of the HttpClient that this Http |
default
Http |
createInstance(HttpClientOptions clientOptions)
Creates a new instance of the HttpClient that this Http |
Method Details
createInstance
public abstract HttpClient createInstance()
Creates a new instance of the HttpClient that this HttpClientProvider is configured to create.
Returns:
createInstance
public default HttpClient createInstance(HttpClientOptions clientOptions)
Creates a new instance of the HttpClient that this HttpClientProvider is configured to create.
Parameters:
Returns: