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/dotnet/tree/c2435c3e0f46de784341ac3ed62863ce77e117b4
dotnet add package Microsoft.Extensions.Http.Polly --version 10.0.3
Install-Package Microsoft.Extensions.Http.Polly -Version 10.0.3
| 包名 | 版本要求 |
|---|---|
| Microsoft.Extensions.Http | [10.0.3, ) |
| Polly | [7.2.4, ) |
| Polly.Extensions.Http | [3.0.0, ) |
| 作者 | Microsoft |
|---|---|
| 发布时间 | 2026-02-10 17:19:18 |
| 项目主页 | https://asp.net/ |
| 许可证 | https://www.nuget.org/packages/Microsoft.Extensions.Http.Polly/10.0.3/license |