Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SIPS/sip-20.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ type OpenWebSocketParams = {
The RPC method takes two parameters:

- `url` - The URL of the WebSocket service to connect to.
- The URL MUST be a valid WebSocket URL, starting with `wss://`. URLs starting with `ws://` are not allowed.
- The URL MUST be a valid WebSocket URL, starting with `wss://` or `ws://`.
- 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.
- `protocols` - An optional array of subprotocols to use for the WebSocket connection.

Expand Down