App-vNext / Polly.Extensions.Http

Polly.Extensions.Http is an extensions package containing opinionated convenience methods for configuring Polly policies to handle transient faults typical of calls through HttpClient.
Other
85 stars 20 forks source link

Microsoft.Extensions.Http.Polly? #27

Open StephenCleary opened 4 years ago

StephenCleary commented 4 years ago

Has Polly.Extensions.Http been replaced by Microsoft.Extensions.Http.Polly?

If so, please:

IGx89 commented 3 years ago

Microsoft.Extensions.Http.Polly actually uses this package: https://github.com/dotnet/extensions/blob/v3.1.9/src/HttpClientFactory/Polly/src/DependencyInjection/PollyHttpClientBuilderExtensions.cs#L229. It's basically another layer of convenience built around this, allowing it to more easily be used with IHttpClientFactory.