Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloudflare example #440

Open
gerhardcit opened this issue Feb 17, 2024 · 2 comments
Open

Cloudflare example #440

gerhardcit opened this issue Feb 17, 2024 · 2 comments

Comments

@gerhardcit
Copy link

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?

@darrachequesne
Copy link
Member

Hmm... I don't think this is possible. Could you please explain your use case?

@gerhardcit
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants