getWebSocket

getWebSocket(wsId: Integer64): JadeWebSocket;

The getWebSocket method of the JadeWebSocketServer class retrieves the instance of a subclass of JadeWebSocket identified by its web socket id. The web socket id is stored in the id property of the associated JadeWebSocket object.

This method returns null if the JadeWebSocket does not exist.

The WebSockets are automatically deleted when the TCP/IP connection is closed.

2018.0.01 and higher