4 writes to RetryAfter
Microsoft.Extensions.Http.Resilience.Tests (4)
Internal\RetryAfterHelperTests.cs (3)
20response.Headers.RetryAfter = new RetryConditionHeaderValue(TimeSpan.FromSeconds(10)); 45response.Headers.RetryAfter = new RetryConditionHeaderValue(timeProvider.GetUtcNow() + TimeSpan.FromDays(1)); 59response.Headers.RetryAfter = new RetryConditionHeaderValue(timeProvider.GetUtcNow() + TimeSpan.FromDays(1));
Polly\HttpRetryStrategyOptionsTests.cs (1)
134RetryAfter = new RetryConditionHeaderValue(TimeSpan.FromSeconds(10))
1 reference to RetryAfter
Microsoft.Extensions.Http.Resilience (1)
Internal\RetryAfterHelper.cs (1)
18var (parsed, delay) = response.Headers.RetryAfter switch