summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSamuel Mannehed <samuel@cendio.se>2019-07-23 15:40:57 +0200
committerSamuel Mannehed <samuel@cendio.se>2019-07-23 16:03:49 +0200
commitc912230309806aacbae4295faf7ad6406da97617 (patch)
treeaec327a4e661d4565727e8f589462175b4502a50 /docs
parent21387f9c240b316a10457b333ca6a8f97e2dc2d1 (diff)
downloadnovnc-c912230309806aacbae4295faf7ad6406da97617.tar.gz
Remove the default value of wsProtocols
Using the 'binary' protocol by default is very non-standard.
Diffstat (limited to 'docs')
-rw-r--r--docs/API.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/API.md b/docs/API.md
index 803176c..aa6337f 100644
--- a/docs/API.md
+++ b/docs/API.md
@@ -188,7 +188,8 @@ connection to a specified VNC server.
encountered.
`wsProtocols`
- - Protocols to use in the WebSocket connection, the default is: ['binary']
+ - An `Array` of `DOMString`s specifying the sub-protocols to use
+ in the WebSocket connection. Empty by default.
#### connect