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/dotnet/aspnetcore/tree/63d1187a01b82719c2891cecc74ee3d51ce892a8
dotnet add package Microsoft.Extensions.Http.Polly --version 8.0.0-preview.1.23112.2
Install-Package Microsoft.Extensions.Http.Polly -Version 8.0.0-preview.1.23112.2
| 包名 | 版本要求 |
|---|---|
| Microsoft.Extensions.Http | [8.0.0-preview.1.23110.8, ) |
| Polly | [7.2.3, ) |
| Polly.Extensions.Http | [3.0.0, ) |
| 作者 | Microsoft |
|---|---|
| 发布时间 | 2023-02-21 14:31:26 |
| 项目主页 | https://asp.net/ |
| 许可证 | https://www.nuget.org/packages/Microsoft.Extensions.Http.Polly/8.0.0-preview.1.23112.2/license |