-
-
Notifications
You must be signed in to change notification settings - Fork 251
Open
Labels
Description
Payloads consist of four parts:
- op: The gateway opcode, which indicates the payload type.
- d: The event data as JSON
- s: The sequence number of event used for resuming sessions and heartbeating
- t: Event name
The library currently uses t to determine what kind of event is fired, however it still serves the event data as part of a generic object. The goal of this issue is to create EventData Parts to better indicate what kind of data is available.