socket.io-website
socket.io-website copied to clipboard
Cloudflare example
Can you include an basic POC of how to setup socket.io using a Cloudlare worker?
There all these examples: https://socket.io/docs/v4/server-initialization/#options
So maybe first indicate it you advise it. And if not, may state that and could you explain why if possible?
Hmm... I don't think this is possible. Could you please explain your use case?
@darrachequesne, thx. Cloudflare supports websockets well. https://developers.cloudflare.com/workers/examples/websockets/
But I was hoping to leverage on the current socket.io approaches taken in other apps. socket.io technically sits on top of websockets correct? So ideally the way socket.io handle the management could be beneficial.