Partager via


HttpClientResiliencePredicates Class

Definition

Provides static predicates used within the current package.

public ref class HttpClientResiliencePredicates abstract sealed
public static class HttpClientResiliencePredicates
type HttpClientResiliencePredicates = class
Public Class HttpClientResiliencePredicates
Inheritance
HttpClientResiliencePredicates

Methods

IsTransient(Outcome<HttpResponseMessage>, CancellationToken)

Determines whether an HttpResponseMessage should be treated by resilience strategies as a transient failure.

IsTransient(Outcome<HttpResponseMessage>)

Determines whether an outcome should be treated by resilience strategies as a transient failure.

Applies to