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

Method send

api/worker-configuration.d.ts:3684–3684  ·  view source on GitHub ↗

* 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. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/se

(message: (ArrayBuffer | ArrayBufferView) | string)

Source from the content-addressed store, hash-verified

3682 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/send)
3683 */
3684 send(message: (ArrayBuffer | ArrayBufferView) | string): void
3685 /**
3686 * The **`WebSocket.close()`** method closes the already `CLOSED`, this method does nothing.
3687 *

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected