method
ServerWebSocket.sendText
@param data
The data to send.
@param compress
Whether to compress the data. Defaults to false. Ignored if the client does not support compression
ws.sendText("Hello!");
ws.sendText("Compress this.", true);