The HttpClient factory is a pattern for configuring and retrieving named HttpClients in a composable way. The HttpClient factory provides extensibility to plug in DelegatingHandlers that address cross-cutting concerns such as service location, load balancing, and reliability. The default HttpClient factory provides built-in diagnostics and logging and manages the lifetimes of connections in a performant way. Commonly used types: System.Net.Http.IHttpClientFactory This package was built from the source at: https://github.com/aspnet/HttpClientFactory/tree/30f0ec0ee6f637d630fbae6a9e6a7517acd0f429
dotnet add package Microsoft.Extensions.Http --version 2.2.0-preview1-35029
Install-Package Microsoft.Extensions.Http -Version 2.2.0-preview1-35029
| 包名 | 版本要求 |
|---|---|
| Microsoft.Extensions.DependencyInjection.Abstractions | [2.2.0-preview1-35029, ) |
| Microsoft.Extensions.Logging | [2.2.0-preview1-35029, ) |
| Microsoft.Extensions.Options | [2.2.0-preview1-35029, ) |
| 作者 | Microsoft |
|---|---|
| 发布时间 | 2018-08-22 16:13:58 |
| 项目主页 | https://asp.net/ |
| 许可证 | https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt |