I am using play20
I have web sockets that use Netty 3.5.0 and i need to find way to use sub channels on each socket.
it is possible and how ?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can just use a different prefix for messages on each of the channels. For example, if you want to send “hello” on channel 1, you send “1hello” instead. Then you have an web socket handler that parses these messages and dispatches them to other actors or iteratees according to the prefix.