ResilienceHttpClientBuilderExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) |
Adds a standard hedging handler that wraps the execution of the request with a standard hedging mechanism. |
AddStandardHedgingHandler(IHttpClientBuilder, Action<IRoutingStrategyBuilder>) |
Adds a standard hedging handler that wraps the execution of the request with a standard hedging mechanism. |
AddStandardResilienceHandler(IHttpClientBuilder) |
Adds a standard resilience handler that uses multiple resilience strategies with default options to send the requests and handle any transient errors. |
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. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om