Skip to main content
  • Snap

snap_closeWebSocket

Description

Closes a WebSocket connection that was previously opened with snap_openWebSocket.

Parameters

id

stringrequired

The ID of the WebSocket connection to close.