Discuss this help topic in SecureBlackbox Forum
WebSocket: Keep websocket connection alive
Use Ping() method of TElWebSocketClient or TElWebSocketServer to send an empty request to the other side of the WebSocket connection. OnPong event will be fired on the other side. Such request may be used to keep connection active.