MCPcopy
hub / github.com/socketio/socket.io / parser.js

File parser.js

packages/socket.io-parser/test/parser.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const { PacketType, Decoder, Encoder, isPacketValid } = require("..");
2const expect = require("expect.js");
3const helpers = require("./helpers.js");
4

Callers

nothing calls this directly

Calls 12

itFunction · 0.85
isInvalidPayloadFunction · 0.85
isInvalidAttachmentCountFunction · 0.85
throwExceptionMethod · 0.80
matchMethod · 0.80
eqlMethod · 0.80
aMethod · 0.65
encodeMethod · 0.65
isPacketValidFunction · 0.50
addMethod · 0.45
onMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected