Skip to content

Glossary: Real-Time Apps with WebSockets

Connection state recovery

Also written: connectionStateRecovery, socket.recovered

A Socket.IO server option that keeps a briefly dropped socket's id, rooms, data and missed events (for 2 minutes by default) so a client that returns in time gets them back. It doesn't survive a server restart, so you still keep a snapshot.

Where the book teaches it

Related terms

SnapshotReplayRoom