snap_getWebSockets
Description
Get the connected WebSockets for the Snap.
Parameters
This method does not have any parameters.
Returns
object[]
An array of connected WebSockets for the Snap.
object
id
stringThe unique identifier of the WebSocket connection.
url
stringThe URL of the WebSocket connection.
protocols
string[]An array of subprotocols used in the WebSocket connection (if any).