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

How to broadcast data to a room (of socket io) when the server receives data from somewhere else (not using socket io) #226

Open
yhpoh91 opened this issue Oct 10, 2015 · 0 comments

Comments

@yhpoh91
Copy link

yhpoh91 commented Oct 10, 2015

May I know how to emit a broadcast to a room of gevent socket io when the data is not triggered by a socket?
My data comes from another part of my program which listens to data changes from an external server which does not use socket io. After processing those data I would like to broadcast it to everyone in the same room but I have no idea on how to do that.
Is there a way to get an instance of the namespace itself so that I can emit a broadcast?

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

No branches or pull requests

1 participant