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

Interface Packet

packages/socket.io-parser/lib/index.ts:38–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38export interface Packet {
39 type: PacketType;
40 nsp: string;
41 data?: any;
42 id?: number;
43 attachments?: number;
44}
45
46/**
47 * A socket.io Encoder instance

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…