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

Method setWebSocketAutoResponse

api/worker-configuration.d.ts:693–693  ·  view source on GitHub ↗
(maybeReqResp?: WebSocketRequestResponsePair)

Source from the content-addressed store, hash-verified

691 acceptWebSocket(ws: WebSocket, tags?: string[]): void
692 getWebSockets(tag?: string): WebSocket[]
693 setWebSocketAutoResponse(maybeReqResp?: WebSocketRequestResponsePair): void
694 getWebSocketAutoResponse(): WebSocketRequestResponsePair | null
695 getWebSocketAutoResponseTimestamp(ws: WebSocket): Date | null
696 setHibernatableWebSocketEventTimeout(timeoutMs?: number): void

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected