emitter
Static
BATCH_TIMEOUT
BATCH_TIMEOUT: number = 25
Static
CACHE_MAXSIZE
CACHE_MAXSIZE: number = 4096
Static
Readonly
CLOSE_CODES
CLOSE_CODES: {
1000: "ribbon closed normally";
1001: "client closed ribbon";
1002: "protocol error";
1003: "protocol violation";
1005: "no error provided";
1006: "ribbon lost";
1007: "payload data corrupted";
1008: "protocol violation";
1009: "too much data";
1010: "negotiation error";
1011: "server error";
1012: "server restarting";
1013: "temporary error";
1014: "bad gateway";
1015: "TLS error";
} = ...
Static
CODEC_FLAGS
CODEC_FLAGS: {
F_ID: 128;
} = ...
Static
FLAGS
FLAGS: {
ALIVE: number;
CONNECTING: number;
DEAD: number;
FAST_PING: number;
SUCCESSFUL: number;
TIMING_OUT: number;
} = ...
Static
SLOW_CODEC_THRESHOLD
SLOW_CODEC_THRESHOLD: number = 100
Used in the Game class to detect disconnects faster, don't touch.