-
Notifications
You must be signed in to change notification settings - Fork 238
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
Websocket Server supports write? #186
Comments
Hi - had the same issue until I wokred out you need to call from the scope of the callback. This is kind of hacky, as it only works for one client. I really needs to be a list of clients, but I've not has time to look at this as I think the connections are already managed by the listener, so i would be best to use that rather than maintaning a separate list...
or do the |
You can call
In this case
|
I'm even more confused!
Perhaps an example that does a broadcast to more that on client would be useful. |
Documentation seems to show it is easy to have a WS server write a message to connected clients, but I can't get it to work in practice. I checked the source seems to show that only the Client supports write.
Am I missing something obvious?
The text was updated successfully, but these errors were encountered: