MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / send

Method send

src/mcp/client.ts:313–316  ·  view source on GitHub ↗
(msg: object)

Source from the content-addressed store, hash-verified

311 }
312
313 private async send(msg: object): Promise<void> {
314 if (!this.transport) throw new Error(`MCP ${this.name} transport not initialized`);
315 await this.transport.send(msg);
316 }
317
318 private failAllPending(err: Error): void {
319 for (const [, p] of this.pending) {

Callers 3

handleMessageMethod · 0.95
requestWithTimeoutMethod · 0.95
notifyMethod · 0.95

Calls 1

sendMethod · 0.65

Tested by

no test coverage detected