Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/protocol / close-codes / CLOSE_CODE_VALUES
Variable: CLOSE_CODE_VALUES
ts
const CLOSE_CODE_VALUES: Readonly<{
auth.invalid: 4002;
auth.required: 4001;
auth.revoked: 4003;
auth.scope_denied: 4004;
flow.throttled: 4006;
protocol.violation: 4008;
rate.limited: 4005;
server.shutdown: 4007;
}>;Defined in: close-codes.ts:31
Numeric close-code constants. The pair (value, reason) round-trips via closeCodeReason / closeCodeFor.