You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SIPS/sip-20.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ type OpenWebSocketParams = {
62
62
The RPC method takes two parameters:
63
63
64
64
-`url` - The URL of the WebSocket service to connect to.
65
-
- The URL MUST be a valid WebSocket URL, starting with `wss://`. URLs starting with `ws://` are not allowed.
65
+
- The URL MUST be a valid WebSocket URL, starting with `wss://` or `ws://`.
66
66
- Only one WebSocket connection can be opened per URL at a time. If a Snap tries to open a new connection to the same URL while an existing connection is still open, the client MUST throw an error.
67
67
-`protocols` - An optional array of subprotocols to use for the WebSocket connection.
0 commit comments