Optional ReadonlybackoffMultiplier for exponential backoff. Default: 1.5
Optional ReadonlyinitialInitial delay before the first reconnect attempt in ms. Default: 1000
Optional ReadonlymaxMaximum delay between attempts in ms (caps exponential growth). Default: 30000
Optional ReadonlymaxMaximum number of reconnect attempts before giving up. Default: 5
Options for automatic reconnection with exponential backoff.
When auto-reconnect is enabled, the ConnectionStateManager will automatically attempt to re-establish the connection when the state transitions to 'error'.
This handles reconnection to the API backend (e.g. a REST API service), NOT MCP transport reconnection (which is client-side, handled by the SDK).