3 references to AddPolicyHandler
Microsoft.Extensions.Http.Polly.Tests (2)
DependencyInjection\PollyHttpClientBuilderExtensionsTest.cs (2)
82
.
AddPolicyHandler
((req) => req.RequestUri.AbsolutePath == "/" ? RetryPolicy : NoOpPolicy)
120
.
AddPolicyHandler
((req) => req.RequestUri.AbsolutePath == "/" ? RetryPolicy : NoOpPolicy)
Microsoft.Extensions.Http.Resilience.PerformanceTests (1)
StandardResilienceBenchmark.cs (1)
62
.
AddPolicyHandler
(_ => policy);