AddStandardResilienceHandler

A one-line setup that adds a recommended resilience pipeline, including rate limiting, total timeout, retry, circuit breaker and attempt timeout, to an HttpClient.

In more detail

The defaults are a reasonable starting point for outbound HTTP calls. Tune its options, such as Retry.MaxRetryAttempts and TotalRequestTimeout, from measured downstream behaviour.

Related terms

Taught in

References