HttpRetryStrategyOptions 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.
Implementation of the RetryStrategyOptions`1 for HttpResponseMessage results.
public ref class HttpRetryStrategyOptions : Polly::Retry::RetryStrategyOptions<System::Net::Http::HttpResponseMessage ^>
public class HttpRetryStrategyOptions : Polly.Retry.RetryStrategyOptions<System.Net.Http.HttpResponseMessage>
type HttpRetryStrategyOptions = class
inherit RetryStrategyOptions<HttpResponseMessage>
Public Class HttpRetryStrategyOptions
Inherits RetryStrategyOptions(Of HttpResponseMessage)
- Inheritance
-
HttpRetryStrategyOptions
Constructors
HttpRetryStrategyOptions() |
Initializes a new instance of the HttpRetryStrategyOptions class. |
Properties
ShouldRetryAfterHeader |
Gets or sets a value indicating whether to use the |
Extension Methods
DisableFor(HttpRetryStrategyOptions, HttpMethod[]) |
Disables retry attempts for the given list of HTTP methods. |
DisableForUnsafeHttpMethods(HttpRetryStrategyOptions) |
Disables retry attempts for POST, PATCH, PUT, DELETE, and CONNECT HTTP methods. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.