Discuss this help topic in SecureBlackbox Forum

WebSocket: Create websocket connection to server

As WebSocket protocol works via HTTP, to initiate a WebSocket connection to the server, you need to setup and use an instance TElHTTPSClient. Creation of a WebSocket is done using TElHTTPSClient.StartWS() method and pass it the URL on the server which will accept the connection and establish a WebSocket. The method returns an instance of TElWebSocketClient, used to communicate with a server, and TElSocket object, that represents a connection to use for further data exchange. TElSocket is used to detect availability of the incoming data.

How To articles about WebSocket

Discuss this help topic in SecureBlackbox Forum