MCPcopy
hub / github.com/websockets/ws / enqueue

Method enqueue

lib/sender.js:551–554  ·  view source on GitHub ↗

* Enqueues a send operation. * * @param {Array} params Send operation parameters. * @private

(params)

Source from the content-addressed store, hash-verified

549 * @private
550 */
551 enqueue(params) {
552 this._bufferedBytes += params[3][kByteLength];
553 this._queue.push(params);
554 }
555
556 /**
557 * Sends a frame.

Callers 4

closeMethod · 0.95
pingMethod · 0.95
pongMethod · 0.95
sendMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected