Skip to main content
  • Snap

snap_closeWebSocket

Description

Closes a WebSocket connection that was previously opened with snap_openWebSocket.

Parameters

object

The request parameters for the snap_closeWebSocket method.

id

string
required

The ID of the WebSocket connection to close.

Returns

null

The result returned by the snap_closeWebSocket method.