MCPcopy Create free account
hub / github.com/fontsource/fontsource / webSocketMessage

Method webSocketMessage

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected