Description
Handler for the snap_openWebSocket method.
Parameters
url
string
The URL of the WebSocket connection to open.
protocols
string[] | null
The protocols to use for the WebSocket connection.
Returns
string
The result returned by the snap_openWebSocket method.