Skip to content

CLOSE

const CLOSE: object

Defined in: protocol/messages.ts:115

Close codes (protocol section 8).

readonly GOING_AWAY: 1001 = 1001

readonly HELLO_TIMEOUT: 4000 = 4000

readonly KICKED: 4409 = 4409

readonly NORMAL: 1000 = 1000

readonly PROTOCOL_VIOLATION: 4002 = 4002

readonly RATE_LIMIT_ABUSE: 4429 = 4429

readonly TOO_BIG: 1009 = 1009

readonly UNAUTHORIZED: 4401 = 4401

readonly UNSUPPORTED_PROTOCOL: 4001 = 4001