Azure SDK for Embedded C
Data Fields
az_http_policy_retry_options Struct Reference

Allows you to customize the retry policy used by SDK clients whenever they perform an I/O operation. More...

#include <az_http.h>

Data Fields

az_http_status_code const * status_codes
 An array of HTTP status codes to retry on, terminated by AZ_HTTP_STATUS_CODE_END_OF_LIST.
 
int32_t retry_delay_msec
 The minimum time, in milliseconds, to wait before a retry.
 
int32_t max_retry_delay_msec
 The maximum time, in milliseconds, to wait before a retry.
 
int32_t max_retries
 Maximum number of retries.
 

Detailed Description

Allows you to customize the retry policy used by SDK clients whenever they perform an I/O operation.

Client libraries should acquire an initialized instance of this struct and then modify any fields necessary before passing a pointer to this struct when initializing the specific client.


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