Websocket Session Handshake Lifecycle

The order a WebSocket session has to be brought up and torn down — reader started before the first message because the answer comes back through it, the handshake settled on a deferred with a timeout, the close frame sent under a non-cancellable context, and an event buffer that suspends rather than drops. Use when a socket connects but the session never becomes usable, when a deliberate disconnect leaves the peer thinking you are still there, or when clients drift out of sync after a burst of traffic.

maxrave-dev 9d20680 7.7 KB Updated

File contents

maxrave-dev/kotlin-footguns/tree/main/skills/websocket-session-handshake-lifecycle commit 9d20680352

Frequently asked questions

npx skillmds@latest add maxrave-dev/websocket-session-handshake-lifecycle