Interface GatewayClosed
- All Superinterfaces:
Entity
- All Known Implementing Classes:
GatewayClosedImpl
Fired when the gateway websocket is closed.
- Since:
- 7/26/19.
- Author:
- amy
-
Method Summary
-
Method Details
-
shardInfo
- Returns:
- Information about the shard whose gateway websocket closed.
-
code
@Nonnegative int code()- Returns:
- The websocket close code.
-
reason
- Returns:
- The websocket close reason, if present.
-