How to ask various questions using TestWebSocketFrame in netty

I use to write to a socket.

channels.writeAndFlush(new TextWebSocketFrame(String msg));

and on my web page (which is displayed to the client) I get the data from the event (event.data) and display it in the text area (say, T1). but I have 2 text areas (say T1 and T2) and I want to display different data in two of them. I can not find a way to do this. So maybe if I could get some implementation or somehow get the desired functionality.

+4
source share
1 answer

WebSocketFrame "", , . , Json -

0

All Articles