azure-core
Public Attributes | List of all members
Azure::Core::Http::Policies::RetryOptions Struct Referencefinal

The set of options that can be specified to influence how retry attempts are made, and a failure is eligible to be retried. More...

#include <policy.hpp>

Public Attributes

int32_t MaxRetries = 3
 The maximum number of retry attempts before giving up.
 
std::chrono::milliseconds RetryDelay = std::chrono::milliseconds(800)
 The minimum permissible delay between retry attempts. More...
 
std::chrono::milliseconds MaxRetryDelay = std::chrono::seconds(60)
 The maximum permissible delay between retry attempts. More...
 
std::set< HttpStatusCodeStatusCodes
 The HTTP status codes that indicate when an operation should be retried. More...
 

Detailed Description

Note
See https://azure.github.io/azure-sdk/general_azurecore.html#retry-policy.

Member Data Documentation

◆ MaxRetryDelay

std::chrono::milliseconds Azure::Core::Http::Policies::RetryOptions::MaxRetryDelay = std::chrono::seconds(60)

◆ RetryDelay

std::chrono::milliseconds Azure::Core::Http::Policies::RetryOptions::RetryDelay = std::chrono::milliseconds(800)

◆ StatusCodes

std::set<HttpStatusCode> Azure::Core::Http::Policies::RetryOptions::StatusCodes

The documentation for this struct was generated from the following file: