examples/raw-websocket-handler-proxy/README.md
Demonstrates raw WebSocket handling using a proxy endpoint pattern for routing connections to actors.
git clone https://github.com/rivet-dev/rivet.git
cd rivet/examples/raw-websocket-handler-proxy
npm install
npm run dev
onWebSocket for low-level WebSocket control and custom protocolsThis example demonstrates routing WebSocket connections through a proxy:
src/backend/registry.ts): Uses proxy endpoint pattern to route WebSocket connections to actorsRead more about WebSockets, state, and events.
MIT