Share via


HttpRetryStrategyOptions Class

Definition

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 Retry-After header for the retry delays.

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