secure webclient socket (#4432)
Co-authored-by: Jeremy Letto <jeremy.letto@datasite.com>
This commit is contained in:
parent
36e5a399d5
commit
19333c53f6
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ export class WebClient {
|
|||
|
||||
const { host, port } = this.options;
|
||||
|
||||
this.socket = new WebSocket("ws://" + host + ":" + port);
|
||||
this.socket = new WebSocket("wss://" + host + ":" + port);
|
||||
this.socket.binaryType = "arraybuffer"; // We are talking binary
|
||||
|
||||
this.socket.onopen = () => {
|
||||
|
|
Loading…
Reference in a new issue