Add support in websocket sub-protocols

This commit is contained in:
Shira Maximov
2019-07-17 10:25:05 +03:00
committed by Lauri Kasanen
parent 71fa476514
commit 8c5b5f17eb
2 changed files with 5 additions and 1 deletions

View File

@@ -187,6 +187,9 @@ connection to a specified VNC server.
- A `DOMString` specifying the ID to provide to any VNC repeater
encountered.
`wsProtocols`
- Protocols to use in the WebSocket connection, the default is: ['binary']
#### connect
The `connect` event is fired after all the handshaking with the server