Skip to content

ProtocolResult

Defined in: packages/ws/src/protocol.ts:53

A classified frame: its sequence, if any, and what it means.

action: GatewayAction

Defined in: packages/ws/src/protocol.ts:63

What the frame means.


sequence: number | null

Defined in: packages/ws/src/protocol.ts:61

Sequence carried by the frame, or null when it carried none.

Reported for every payload type, not just dispatches: recording it is the caller’s decision, and the caller records before acting so a RESUME cannot be built from a sequence that was never seen.