MCPcopy Create free account
hub / github.com/tiann/hapi / sendNotification

Method sendNotification

cli/src/codex/codexAppServerClient.ts:352–355  ·  view source on GitHub ↗
(method: string, params?: unknown)

Source from the content-addressed store, hash-verified

350 }
351
352 private sendNotification(method: string, params?: unknown): void {
353 const payload: JsonRpcLiteNotification = { method, params };
354 this.writePayload(payload);
355 }
356
357 private handleStdout(chunk: string): void {
358 this.buffer += chunk;

Callers 2

initializeMethod · 0.95
sendToSubscriptionMethod · 0.45

Calls 1

writePayloadMethod · 0.95

Tested by

no test coverage detected