Sinch Node.js SDK - v1.6.0
    Preparing search index...

    Interface WithRetryPolicy

    Tunable retry settings applied to all SDK HTTP calls (OAuth and product APIs). Defaults: retryPolicy=DEFAULT, maxRetryCount=3, exponentialBackoff=4.

    interface WithRetryPolicy {
        exponentialBackoff?: number;
        maxRetryCount?: number;
        retryPolicy?: SupportedRetryPolicy;
    }
    Index

    Properties

    exponentialBackoff?: number

    Growth factor for the full-jitter exponential backoff ceiling (1000ms * exponentialBackoff^attempt). Must be a positive number.

    4
    
    maxRetryCount?: number

    Maximum number of retries after the first attempt before the error is surfaced to the caller. Must be a non-negative integer.

    3
    
    retryPolicy?: SupportedRetryPolicy

    How the SDK should retry eligible failed HTTP responses. Unknown values are rejected.

    RetryPolicy.DEFAULT