MCPcopy
hub / github.com/socketio/socket.io / onData

Function onData

packages/engine.io/lib/transport.ts:164–166  ·  view source on GitHub ↗

* Called with the encoded packet data. * * @param data * @protected

(data: RawData)

Source from the content-addressed store, hash-verified

162 * @protected
163 */
164 protected onData(data: RawData) {
165 this.onPacket(this.parser.decodePacket(data));
166 }
167
168 /**
169 * Called upon transport close.

Callers

nothing calls this directly

Calls 1

onPacketMethod · 0.45

Tested by

no test coverage detected