/
docs
/
packages
/
ws
/
main
/
SessionInfo%3AInterface
Search...
K
ws
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
main
Classes
SimpleContextFetchingStrategy
SimpleIdentifyThrottler
SimpleShardingStrategy
WebSocketManager
WebSocketShard
WorkerBootstrapper
WorkerContextFetchingStrategy
WorkerShardingStrategy
Functions
getInitialSendRateLimitState
managerToFetchingStrategyOptions
Enums
CloseCodes
CompressionMethod
Encoding
WebSocketShardDestroyRecovery
WebSocketShardEvents
WebSocketShardStatus
WorkerReceivePayloadOp
WorkerSendPayloadOp
Interfaces
BootstrapOptions
CreateWebSocketManagerOptions
FetchingStrategyOptions
IContextFetchingStrategy
IdentifyState
IIdentifyThrottler
IShardingStrategy
ManagerShardEventsMap
OptionalWebSocketManagerOptions
RequiredWebSocketManagerOptions
SendRateLimitState
SessionInfo
ShardRange
WebSocketManagerOptions
WebSocketShardDestroyOptions
WebSocketShardEventsMap
WorkerData
WorkerShardingStrategyOptions
Types
WorkerReceivePayload
WorkerSendPayload
Variables
CompressionParameterMap
DefaultDeviceProperty
DefaultWebSocketManagerOptions
ImportantGatewayOpcodes
version
SessionInfo
export interface
SessionInfo
export interface
SessionInfo
Summary
Session information for a given shard, used to resume a session
Properties
resumeURL
:
string
URL to use when resuming
sequence
:
number
The sequence number of the last message sent by the shard
sessionId
:
string
Session id for this shard
shardCount
:
number
The total number of shards at the time of this shard identifying
shardId
:
number
The id of the shard