Module stream_reconnect

Module stream_reconnect 

Source
Expand description

Stream Reconnection Logic

Provides automatic reconnection for dropped streaming connections with exponential backoff and state preservation.

Structs§

ReconnectConfig
Configuration for reconnection behavior
ReconnectManager
Reconnection manager for streaming connections
StreamState
Stream state that can be preserved across reconnections

Enums§

ReconnectEvent
Reconnection event for frontend notification
ReconnectState
Reconnection state

Constants§

DEFAULT_BACKOFF_MULTIPLIER
Default backoff multiplier
DEFAULT_INITIAL_BACKOFF_MS
Default initial backoff delay in milliseconds
DEFAULT_MAX_BACKOFF_MS
Default maximum backoff delay in milliseconds
DEFAULT_MAX_RECONNECT_ATTEMPTS
Default maximum reconnection attempts