4 references to AddPolicyHandler
Microsoft.Extensions.Http.Polly (2)
DependencyInjection\PollyHttpClientBuilderExtensions.cs (1)
212
/// <see cref="
AddPolicyHandler
(IHttpClientBuilder, IAsyncPolicy{HttpResponseMessage})"/> as desired.
PolicyHttpMessageHandler.cs (1)
30
/// The <see cref="PollyHttpClientBuilderExtensions.
AddPolicyHandler
(IHttpClientBuilder, IAsyncPolicy{HttpResponseMessage})"/>
Microsoft.Extensions.Http.Polly.Tests (1)
DependencyInjection\PollyHttpClientBuilderExtensionsTest.cs (1)
47
.
AddPolicyHandler
(RetryPolicy)
Microsoft.Extensions.Http.Resilience.PerformanceTests (1)
RetryBenchmark.cs (1)
60
.
AddPolicyHandler
(builder.WaitAndRetryAsync(3, _ => TimeSpan.FromSeconds(1)));