Discuss this help topic in SecureBlackbox Forum
WebSocket: Send data to server
Once the WebSocket has been created and connected, you have an instance of TElWebSocketClient. Use one of TElWebSocketClient.SendData() method to send the data (either the array of bytes or a stream).
To send a text, use TElWebSocketClient.SendText() method instead. Note, that the text is converted to UTF8 encoding when sent.