WebSocket docs overhauled to match the Astro protocol spec
The WebSocket documentation has been overhauled to match the protocol spec of Astro, StreamElements’ dedicated pubsub websocket gateway.
The docs now cover the full connection lifecycle — the welcome message on connect, the server-side heartbeat (PING frames every 30 seconds, with a 70-second pong timeout), reconnect tokens for resuming after a graceful shutdown, and the error codes returned when the server is draining or the connection rate limit is exceeded.