Serve Realtime With Websockets

Use when pushing realtime updates to connected clients over WebSockets (a socket.io / WS gateway) — authenticating the socket at the handshake (once, not per message), joining sockets to rooms for targeted broadcast, scaling across instances with a Redis pub/sub adapter (+ sticky sessions), bridging domain events to room emits, and connection-lifecycle hygiene (reconnect, listener cleanup). NestJS/socket.io reference, framework-flexible.

kennguyen887 Updated

File contents

kennguyen887/agent-foundation/tree/main/skills/serve-realtime-with-websockets commit 22343f97aa

Frequently asked questions

npx skillmds@latest add kennguyen887/serve-realtime-with-websockets