Sends a text message.
On the JavaScript side, the text will be available as message.data (type string).
A WebSocketException is thrown if the connection gets closed before or during the transfer of the message.
See Implementation
Sends a text message.
On the JavaScript side, the text will be available as message.data (type string).