The HttpClient factory is a pattern for configuring and retrieving named HttpClients in a composable way. This package integrates IHttpClientFactory with the Polly library, to add transient-fault-handling and resiliency through fluent policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback. This package was built from the source code at https://github.com/aspnet/Extensions/tree/392e329b194b18c7cae04273479334d88c05af2c
dotnet add package Microsoft.Extensions.Http.Polly --version 3.0.0-preview.18572.1
Install-Package Microsoft.Extensions.Http.Polly -Version 3.0.0-preview.18572.1
| 包名 | 版本要求 |
|---|---|
| Microsoft.Extensions.Http | [3.0.0-preview.18572.1, ) |
| Polly | [6.0.1, ) |
| Polly.Extensions.Http | [2.0.1, ) |
| 作者 | Microsoft |
|---|---|
| 发布时间 | 2018-12-04 00:01:07 |
| 项目主页 | https://asp.net/ |
| 许可证 | https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt |