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>
|
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< HttpStatusCode > | StatusCodes |
| The HTTP status codes that indicate when an operation should be retried. More...
|
|
◆ 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 |
Initial value:{
}
@ BadGateway
HTTP 502 Bad Gateway.
@ ServiceUnavailable
HTTP 503 Unavailable.
@ RequestTimeout
HTTP 408 Request Timeout.
@ GatewayTimeout
HTTP 504 Gateway Timeout.
@ InternalServerError
HTTP 500 Internal Server Error.
The documentation for this struct was generated from the following file: