-
Notifications
You must be signed in to change notification settings - Fork 2.6k
How do I send a message to a single client? #1
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
Comments
You need to call Perhaps it would be helpful to add a convenience function to the I urge you to look at the precompiled JavaDoc files inside the |
Hey, Thanks for your reply. Yes, I get a WebSocket object every time onClientOpen(conn) gets called. I then copy this object and can send to an individual browser. It's all working now. Sorry for the schoolboy error. I'm just back to Java after many years of programming in C. Good project. So much cleaner and more straightforward than jWebSocket which has a crazy website. You provide one jar for the WebSocket server and one jar for the javadocs. Perfect. |
Make @threat's acceptance tests actually usable
suggested fix for issue 665 "data read at end of SSL handshake is discarded"
Issue-1160 Added java.lang.Error handling in WebSocketImpl and WebSocketServer
I'm looking at the ChatServer.java example
I see how you can send a message to all web clients using the sendToAll(String) function, but how does one send to just a single web client?
It's not coming up in my Eclipse autocomplete.
Many thanks in advance,
The text was updated successfully, but these errors were encountered: