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