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/3b519aa7d1a1b66e1d329d694f814e1d8228dc8c
dotnet add package Microsoft.Extensions.Http.Polly --version 6.0.28
Install-Package Microsoft.Extensions.Http.Polly -Version 6.0.28
| 包名 | 版本要求 |
|---|---|
| Microsoft.Extensions.Http | [6.0.0, ) |
| Polly | [7.2.2, ) |
| Polly.Extensions.Http | [3.0.0, ) |
| 作者 | Microsoft |
|---|---|
| 发布时间 | 2024-03-12 13:26:12 |
| 项目主页 | https://asp.net/ |
| 许可证 | https://www.nuget.org/packages/Microsoft.Extensions.Http.Polly/6.0.28/license |