From 25b3d49d322b0a7c9ee1e071d93042d70f5176b7 Mon Sep 17 00:00:00 2001 From: Shira Maximov Date: Wed, 17 Jul 2019 10:25:05 +0300 Subject: Add support in websocket sub-protocols --- docs/API.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') 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 -- cgit v1.2.1