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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για