websocket connection id

149 views
Skip to first unread message

sidik....@gmail.com

unread,
Jan 12, 2017, 1:12:03 AM1/12/17
to Baratine
hi there,

i want to setup 1-1 chat app using websocket...is there a way to send to specific websocket connection id so only specific client will receive the message?

thx

Alex

unread,
Jan 29, 2017, 11:00:36 PM1/29/17
to barat...@googlegroups.com, sidik....@gmail.com
Hello,

You can use @Session with WebSocket to achieve sending data to a specific client. Please  see updates() method at URL below for an example.


Alex

Reply all
Reply to author
Forward
0 new messages