Skip to main content
  • Snap

snap_sendWebSocketMessage

Description

Handler for the snap_sendWebSocketMessage method.

Parameters

id

string

The id of the WebSocket connection to send a message to.

message

string | number[]

The message to send.