9 references to HttpRetryStrategyOptions
Microsoft.Extensions.Http.Resilience (1)
Resilience\HttpStandardResilienceOptions.cs (1)
66
public HttpRetryStrategyOptions Retry { get; set; } = new
HttpRetryStrategyOptions
Microsoft.Extensions.Http.Resilience.PerformanceTests (1)
RetryBenchmark.cs (1)
41
.AddResilienceHandler("my-retries", builder => builder.AddRetry(new
HttpRetryStrategyOptions
Microsoft.Extensions.Http.Resilience.Tests (7)
Polly\HttpRetryStrategyOptionsTests.cs (7)
32
private readonly HttpRetryStrategyOptions _testClass =
new
();
37
var options = new
HttpRetryStrategyOptions
();
84
var isTransientFailure = await new
HttpRetryStrategyOptions
().ShouldHandle(CreateArgs(Outcome.FromResult(response)));
94
var shouldHandle = await new
HttpRetryStrategyOptions
().ShouldHandle(args);
101
var options = new
HttpRetryStrategyOptions
{ ShouldRetryAfterHeader = true };
129
var options = new
HttpRetryStrategyOptions
{ ShouldRetryAfterHeader = true };
151
var options = new
HttpRetryStrategyOptions