HttpHedgingStrategyOptions Constructor

Definition

Initializes a new instance of the HttpHedgingStrategyOptions class.

public:
 HttpHedgingStrategyOptions();
public HttpHedgingStrategyOptions ();
Public Sub New ()

Remarks

By default, the options are configured to handle only transient failures. Specifically, this includes HTTP status codes 408, 429, 500 and above, as well as HttpRequestException, Polly.CircuitBreaker.BrokenCircuitException, and Polly.Timeout.TimeoutRejectedException exceptions.

Applies to