@modelcontextprotocol/sdk
    Preparing search index...

    Interface StreamableHTTPReconnectionOptions

    Configuration options for reconnection behavior of the StreamableHTTPClientTransport.

    interface StreamableHTTPReconnectionOptions {
        initialReconnectionDelay: number;
        maxReconnectionDelay: number;
        maxRetries: number;
        reconnectionDelayGrowFactor: number;
    }
    Index

    Properties

    initialReconnectionDelay: number

    Initial backoff time between reconnection attempts in milliseconds. Default is 1000 (1 second).

    maxReconnectionDelay: number

    Maximum backoff time between reconnection attempts in milliseconds. Default is 30000 (30 seconds).

    maxRetries: number

    Maximum number of reconnection attempts before giving up. Default is 2.

    reconnectionDelayGrowFactor: number

    The factor by which the reconnection delay increases after each attempt. Default is 1.5.