method IDurableObjectClientSocket.accept
IDurableObjectClientSocket.accept(): void

Begins handling the socket in this isolate.

Not to be confused with state.acceptWebSocket, which is the DO-side hibernation call — see IDurableObjectState.acceptWebSocket.

Return Type

void

Usage

import { type IDurableObjectClientSocket } from "cloudflare-plugin/src/index.ts";