summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSamuel Mannehed <samuel@cendio.se>2019-07-23 15:24:10 +0200
committerGitHub <noreply@github.com>2019-07-23 15:24:10 +0200
commit21387f9c240b316a10457b333ca6a8f97e2dc2d1 (patch)
treee2f151f935aa7ab52d5704bd41f450f7e4c4cc9e /docs
parent8f2bcfbe796011adce92500b6b60a3e1cc2b88a7 (diff)
parent25b3d49d322b0a7c9ee1e071d93042d70f5176b7 (diff)
downloadnovnc-21387f9c240b316a10457b333ca6a8f97e2dc2d1.tar.gz
Merge pull request #1262 from shiramax/sub_protocols
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