MCPcopy Create free account
hub / github.com/idosal/git-mcp / webSocketMessage

Method webSocketMessage

worker-configuration.d.ts:415–415  ·  view source on GitHub ↗
(ws: WebSocket, message: string | ArrayBuffer)

Source from the content-addressed store, hash-verified

413 fetch(request: Request): Response | Promise<Response>;
414 alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
415 webSocketMessage?(ws: WebSocket, message: string | ArrayBuffer): void | Promise<void>;
416 webSocketClose?(ws: WebSocket, code: number, reason: string, wasClean: boolean): void | Promise<void>;
417 webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
418}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected