Del via


ResilienceHttpClientBuilderExtensions Class

Definition

Extensions for IHttpClientBuilder.

public ref class ResilienceHttpClientBuilderExtensions abstract sealed
public static class ResilienceHttpClientBuilderExtensions
type ResilienceHttpClientBuilderExtensions = class
Public Module ResilienceHttpClientBuilderExtensions
Inheritance
ResilienceHttpClientBuilderExtensions

Methods

AddResilienceHandler(IHttpClientBuilder, String, Action<ResiliencePipelineBuilder<HttpResponseMessage>,ResilienceHandlerContext>)

Adds a resilience pipeline handler that uses a named inline resilience pipeline.

AddResilienceHandler(IHttpClientBuilder, String, Action<ResiliencePipelineBuilder<HttpResponseMessage>>)

Adds a resilience pipeline handler that uses a named inline resilience pipeline.

AddStandardHedgingHandler(IHttpClientBuilder, Action<IRoutingStrategyBuilder>)

Adds a standard hedging handler that wraps the execution of the request with a standard hedging mechanism.

AddStandardHedgingHandler(IHttpClientBuilder)

Adds a standard hedging handler that wraps the execution of the request with a standard hedging mechanism.

AddStandardResilienceHandler(IHttpClientBuilder, Action<HttpStandardResilienceOptions>)

Adds a standard resilience handler that uses multiple resilience strategies with default options to send the requests and handle any transient errors.

AddStandardResilienceHandler(IHttpClientBuilder, IConfigurationSection)

Adds a standard resilience handler that uses multiple resilience strategies with default options to send the requests and handle any transient errors.

AddStandardResilienceHandler(IHttpClientBuilder)

Adds a standard resilience handler that uses multiple resilience strategies with default options to send the requests and handle any transient errors.

Applies to