Skip to main content

retry_post

Function retry_post 

Source
pub async fn retry_post(
    client: &Client,
    url: &str,
    auth_token: Option<&str>,
    body: &Value,
    config: &RetryConfig,
) -> Result<Response>
Expand description

Retry an HTTP POST with exponential backoff.

Retries on network errors and 5xx responses. Returns immediately on success or 4xx.