MCPcopy
hub / github.com/cloudflare/capnweb / send

Method send

__tests__/index.test.ts:2496–2500  ·  view source on GitHub ↗
(message: unknown)

Source from the content-addressed store, hash-verified

2494 class SizeReportingTestTransport extends ObjectTestTransport {
2495 sendCount = 0;
2496 send(message: unknown): number {
2497 super.send(message);
2498 ++this.sendCount;
2499 return 10; // report a tiny encoded size, regardless of the actual message
2500 }
2501 }
2502
2503 let clientTransport = new ObjectTestTransport();

Callers

nothing calls this directly

Calls 1

sendMethod · 0.65

Tested by

no test coverage detected