snap_closeWebSocket
Description
Closes a WebSocket connection that was previously opened with
snap_openWebSocket.
Parameters
id
stringrequiredThe ID of the WebSocket connection to close.
Closes a WebSocket connection that was previously opened with
snap_openWebSocket.
The ID of the WebSocket connection to close.