summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorShira Maximov <shiramaximov@gmail.com>2019-07-17 10:25:05 +0300
committerShira Maximov <shiramaximov@gmail.com>2019-07-23 13:44:18 +0300
commit25b3d49d322b0a7c9ee1e071d93042d70f5176b7 (patch)
treead497e04c6b2aa334ddebf99717387c4e313d11e /docs
parent23af6e142a5d3db95f8d0c6c803e2a99eab41c1d (diff)
downloadnovnc-25b3d49d322b0a7c9ee1e071d93042d70f5176b7.tar.gz
Add support in websocket sub-protocols
Diffstat (limited to 'docs')
-rw-r--r--docs/API.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/API.md b/docs/API.md
index d587429..803176c 100644
--- a/docs/API.md
+++ b/docs/API.md
@@ -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