NAME

Discord::Client::Gateway::Session - Pure Gateway session state engine

DESCRIPTION

Internal state engine used by the IO::Async Gateway driver. It consumes already decoded Gateway packets and produces declarative actions. It does not manage WebSockets, timers, reconnect backoff, identify concurrency, or REST.

Its API is internal and subject to change. Never log an entire send action because Identify/Resume payloads contain a bot token.