Logger for this GatewayClient.
Runs the GatewayClient until completion
Send a gateway payload.
Starts a connection to the gateway. Also called for resuming/reconnecting.
Undocumented in source. Be warned that the author may not have intended to support it.
Client instance for this gateway connection
Whether this GatewayClient is currently connected
Event emitter for Gateway Packets
Heartbeat interval
The heartbeater task
Number of reconnects attempted
Gateway sequence number, used for resuming
Gateway SessionID, used for resuming.
WebSocket connection for this gateway connection
GatewayClient is the base abstraction for connecting to, and interacting with the Discord Websocket (gateway) API.