CLOSE
constCLOSE:object
Defined in: protocol/messages.ts:115
Close codes (protocol section 8).
Type Declaration
Section titled “Type Declaration”GOING_AWAY
Section titled “GOING_AWAY”
readonlyGOING_AWAY:1001=1001
HELLO_TIMEOUT
Section titled “HELLO_TIMEOUT”
readonlyHELLO_TIMEOUT:4000=4000
KICKED
Section titled “KICKED”
readonlyKICKED:4409=4409
NORMAL
Section titled “NORMAL”
readonlyNORMAL:1000=1000
PROTOCOL_VIOLATION
Section titled “PROTOCOL_VIOLATION”
readonlyPROTOCOL_VIOLATION:4002=4002
RATE_LIMIT_ABUSE
Section titled “RATE_LIMIT_ABUSE”
readonlyRATE_LIMIT_ABUSE:4429=4429
TOO_BIG
Section titled “TOO_BIG”
readonlyTOO_BIG:1009=1009
UNAUTHORIZED
Section titled “UNAUTHORIZED”
readonlyUNAUTHORIZED:4401=4401
UNSUPPORTED_PROTOCOL
Section titled “UNSUPPORTED_PROTOCOL”
readonlyUNSUPPORTED_PROTOCOL:4001=4001
