MCPcopy Create free account
hub / github.com/fontsource/fontsource / send

Method send

website/worker-configuration.d.ts:2366–2366  ·  view source on GitHub ↗

* Transmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an ArrayBufferView. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/send)

(message: (ArrayBuffer | ArrayBufferView) | string)

Source from the content-addressed store, hash-verified

2364 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/send)
2365 */
2366 send(message: (ArrayBuffer | ArrayBufferView) | string): void;
2367 /**
2368 * Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason.
2369 *

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected