@backblaze-labs/b2-sdk - v0.6.0
    Preparing search index...

    Class RetryTransport

    Transport wrapper that adds automatic retry with exponential backoff. Handles transient errors (408, 429, and the transient 5xx set 500/502/503/504), expired auth tokens, and network failures. Delegates to an inner HttpTransport.

    Native b2_create_key, b2_create_bucket, b2_copy_file, and b2_hide_file are not replayed after connection failures or HTTP 408/5xx responses. Check the outcome before retrying manually. Expired-token reauth and HTTP 429 backoff remain enabled because those responses reject the operation.

    Upload endpoints (b2_upload_file / b2_upload_part) are URL-pinned. Their retryable pod failures bubble to the upload layer, which evicts the failed URL, fetches a fresh one, and retries there. HTTP 429 remains an in-place retry so account-level throttling does not trigger extra upload URL fetches.

    Implements

    Index
    urlGuard: UrlGuard | undefined

    URL guard from the wrapped transport, when the transport exposes one.