MCPcopy Create free account
hub / github.com/acoyfellow/UserDO / webSocketMessage

Method webSocketMessage

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

Source from the content-addressed store, hash-verified

407 fetch(request: Request): Response | Promise<Response>;
408 alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
409 webSocketMessage?(ws: WebSocket, message: string | ArrayBuffer): void | Promise<void>;
410 webSocketClose?(ws: WebSocket, code: number, reason: string, wasClean: boolean): void | Promise<void>;
411 webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
412}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected