is there an example i can use with websockets on cloudflare ?
The documentation does not link to one particular example . Would be nice to maybe add that link in the docs https://developers.cloudflare.com/workers/runtime-apis/websockets/
WebSockets · Cloudflare Workers docs
WebSockets allow you to communicate in real time with your Cloudflare Workers serverless functions.
4 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Indeeed ... The only template i found so far is super old. I am not even sure if the api on the template is still supported
https://github.com/cloudflare/websocket-template/commits/main
The last commit on this repo is from 2021 .. Meaning ages ago. Also the documented api seems very different.
GitHub
Commits · cloudflare/websocket-template
Example template for working with the WebSocketPair API in Cloudflare Workers. - Commits · cloudflare/websocket-template
can anyone help please ?