MCPcopy Create free account
hub / github.com/Noumena-Network/code / sendMessage

Method sendMessage

src/remote/appServer/client.ts:553–556  ·  view source on GitHub ↗
(message: JsonRpcMessage)

Source from the content-addressed store, hash-verified

551 }
552
553 private sendMessage(message: JsonRpcMessage): void {
554 this.assertOpen()
555 this.ws?.send(jsonStringify(message))
556 }
557
558 private assertOpen(): void {
559 if (this.closed || !this.ws || this.ws.readyState !== WS.OPEN) {

Callers 7

requestMethod · 0.95
notifyMethod · 0.95
resolveServerRequestMethod · 0.95
rejectServerRequestMethod · 0.95
useSSHSessionFunction · 0.45

Calls 3

assertOpenMethod · 0.95
jsonStringifyFunction · 0.85
sendMethod · 0.45

Tested by

no test coverage detected