test connection UI (#4596)

* test connection UI

* cleanup

Co-authored-by: Jeremy Letto <jeremy.letto@datasite.com>
This commit is contained in:
Jeremy Letto 2022-03-19 19:22:00 -05:00 committed by GitHub
parent 00a2a8ab71
commit 0ff59e6d1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 169 additions and 22 deletions

View file

@ -57,7 +57,11 @@ export class WebClient {
public connect(options: WebSocketConnectOptions) {
this.connectionAttemptMade = true;
this.options = options;
this.socket.connect(this.options);
this.socket.connect(options);
}
public testConnect(options: WebSocketConnectOptions) {
this.socket.testConnect(options);
}
public disconnect() {