Discuss this help topic in SecureBlackbox Forum

WebSocket: Send data to client

Once the WebSocket connection has been accepted, you have an instance of TElWebSocketServer. Use one of TElWebSocketServer.SendData() method to send the data (either the array of bytes or a stream).

To send a text, use TElWebSocketServer.SendText() method instead. Note, that the text is converted to UTF8 encoding when sent.

How To articles about WebSocket

Discuss this help topic in SecureBlackbox Forum