MCPcopy Create free account
hub / github.com/GDATASoftwareAG/vaas / getAuthenticatedWebSocket

Method getAuthenticatedWebSocket

typescript/src/Vaas.ts:455–464  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

453 }
454
455 private getAuthenticatedWebSocket() {
456 const ws = this.getConnectedWebSocket();
457 if (!this.connection?.sessionId) {
458 if (this.authenticationError) throw new VaasAuthenticationError();
459 throw new VaasInvalidStateError(
460 "Not yet authenticated - connect() was not awaited",
461 );
462 }
463 return ws;
464 }
465}

Callers 3

forRequestMethod · 0.95
forUrlRequestMethod · 0.95
forStreamRequestMethod · 0.95

Calls 1

getConnectedWebSocketMethod · 0.95

Tested by

no test coverage detected