A simple client to interface with our CloudFlare Workers backed WebSocket server.
First, install this package by running npm i cf-socket-client
, or if you're using yarn, yarn add cf-socket-client
.
- Chat demo
- Poll demo
- Ephemeral Poll demo
- Live map of active users, build using the ephemeral poll functionality