MCPcopy Create free account
hub / github.com/fmhy/edit / acceptWebSocket

Method acceptWebSocket

api/worker-configuration.d.ts:691–691  ·  view source on GitHub ↗
(ws: WebSocket, tags?: string[])

Source from the content-addressed store, hash-verified

689 facets: DurableObjectFacets
690 blockConcurrencyWhile<T>(callback: () => Promise<T>): Promise<T>
691 acceptWebSocket(ws: WebSocket, tags?: string[]): void
692 getWebSockets(tag?: string): WebSocket[]
693 setWebSocketAutoResponse(maybeReqResp?: WebSocketRequestResponsePair): void
694 getWebSocketAutoResponse(): WebSocketRequestResponsePair | null

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected