---
title: "Class WebDefaults.RetryAfterPolicy"
slug: "web-sdk--stylelabs.m.sdk.webclient.webdefaults.retryafterpolicy"
abstract: ""
---
# Class WebDefaults.RetryAfterPolicy

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

## Inheritance

object

WebDefaults.RetryAfterPolicy

## Namespace: StylelabsStylelabs.MSdkWebClient

## Assembly: Stylelabs.M.Sdk.WebClient.dll

## Syntax

```csharp
public static class WebDefaults.RetryAfterPolicy
```

## Properties

### DefaultWait

Gets or sets default wait (seconds) if the 'Retry-After' header could not be parsed.

#### Declaration

```csharp
public static TimeSpan DefaultWait { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| TimeSpan |  |

### RetryCount

Gets or sets how many retries should be done, when multiple 429 have been returned.

#### Declaration

```csharp
public static int RetryCount { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| int |  |
