Interface GatewayClosed

All Superinterfaces:
Entity
All Known Implementing Classes:
GatewayClosedImpl

public interface GatewayClosed extends Entity
Fired when the gateway websocket is closed.
Since:
7/26/19.
Author:
amy
  • Method Details

    • shardInfo

      @Nonnull ShardInfo shardInfo()
      Returns:
      Information about the shard whose gateway websocket closed.
    • code

      @Nonnegative int code()
      Returns:
      The websocket close code.
    • reason

      @Nullable String reason()
      Returns:
      The websocket close reason, if present.