MCPcopy
hub / github.com/nodejs/undici / websocketMessageReceived

Function websocketMessageReceived

lib/web/websocket/util.js:79–81  ·  view source on GitHub ↗

* @see https://websockets.spec.whatwg.org/#feedback-from-the-protocol * @param {import('./websocket').Handler} handler * @param {number} type Opcode * @param {Buffer} data application data * @returns {void}

(handler, type, data)

Source from the content-addressed store, hash-verified

77 * @returns {void}
78 */
79function websocketMessageReceived (handler, type, data) {
80 handler.onMessage(type, data)
81}
82
83/**
84 * @param {Buffer} buffer

Callers 1

runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…