4 references to IsTransient
Microsoft.Extensions.Http.Resilience (2)
Polly\HttpCircuitBreakerStrategyOptions.cs (1)
24
ShouldHandle = args => new ValueTask<bool>(HttpClientResiliencePredicates.
IsTransient
(args.Outcome));
Polly\HttpClientResiliencePredicates.cs (1)
41
||
IsTransient
(outcome);
Microsoft.Extensions.Http.Resilience.Tests (2)
Polly\HttpClientResiliencePredicatesTests.cs (2)
39
isTransientHttpException = HttpClientResiliencePredicates.
IsTransient
(Outcome.FromException<HttpResponseMessage>(ex));
59
isTransientFailure = HttpClientResiliencePredicates.
IsTransient
(Outcome.FromResult(response));