MCPcopy Create free account
hub / github.com/Botloader/botloader / wsOnOpen

Method wsOnOpen

botloader-vscode/src/ws.ts:74–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72 }
73
74 wsOnOpen() {
75 if (this.token) {
76 this.sendAuth();
77 }
78 }
79
80 wsOnMessage(msg: MessageEvent) {
81 let decoded: WsEvent = JSON.parse(msg.data.toString());

Callers

nothing calls this directly

Calls 1

sendAuthMethod · 0.95

Tested by

no test coverage detected