mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-06-22 18:51:48 +02:00
Remove the default value of wsProtocols
Using the 'binary' protocol by default is very non-standard.
This commit is contained in:
parent
8c5b5f17eb
commit
8b859f4598
@ -57,7 +57,7 @@ export default class RFB extends EventTargetMixin {
|
|||||||
this._shared = 'shared' in options ? !!options.shared : true;
|
this._shared = 'shared' in options ? !!options.shared : true;
|
||||||
this._repeaterID = options.repeaterID || '';
|
this._repeaterID = options.repeaterID || '';
|
||||||
this._showDotCursor = options.showDotCursor || false;
|
this._showDotCursor = options.showDotCursor || false;
|
||||||
this._wsProtocols = options.wsProtocols || ['binary'];
|
this._wsProtocols = options.wsProtocols || [];
|
||||||
|
|
||||||
// Internal state
|
// Internal state
|
||||||
this._rfb_connection_state = '';
|
this._rfb_connection_state = '';
|
||||||
|
@ -188,7 +188,8 @@ connection to a specified VNC server.
|
|||||||
encountered.
|
encountered.
|
||||||
|
|
||||||
`wsProtocols`
|
`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
|
#### connect
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user