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

Method accept

api/worker-configuration.d.ts:3678–3678  ·  view source on GitHub ↗
(options?: WebSocketAcceptOptions)

Source from the content-addressed store, hash-verified

3676 */
3677interface WebSocket extends EventTarget<WebSocketEventMap> {
3678 accept(options?: WebSocketAcceptOptions): void
3679 /**
3680 * The **`WebSocket.send()`** method enqueues the specified data to be transmitted to the server over the WebSocket connection, increasing the value of `bufferedAmount` by the number of bytes needed to contain the data.
3681 *

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected