logo
logo

Class WebDefaults.RetryAfterPolicy

Settings for 'Retry After' (HTTP 429) management.

Inheritance
System.Object
WebDefaults.RetryAfterPolicy
Namespace: Stylelabs.M.Sdk.WebClient
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
public static class RetryAfterPolicy : object

Properties

DefaultWait

Default wait (seconds) if the 'Retry-After' header could not be parsed.

Declaration
public static TimeSpan DefaultWait { get; set; }
Property Value
Type Description
TimeSpan

RetryCount

How many retries should be done, when multiple 429 have been returned

Declaration
public static int RetryCount { get; set; }
Property Value
Type Description
System.Int32

Can we improve this article ? Provide feedback