4 instantiations of RetryConditionHeaderValue
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))
4 references to RetryConditionHeaderValue
netstandard (1)
netstandard.cs (1)
1117
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Http.Headers.
RetryConditionHeaderValue
))]
System.Net.Http (3)
artifacts\obj\System.Net.Http\Debug\net10.0\System.Net.Http.notsupported.cs (3)
726
public System.Net.Http.Headers.
RetryConditionHeaderValue
? RetryAfter { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }
861
public static System.Net.Http.Headers.
RetryConditionHeaderValue
Parse(string input) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); }
864
public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? input, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Net.Http.Headers.
RetryConditionHeaderValue
? parsedValue) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); }