Session information for a given shard, used to resume a session

interface SessionInfo {
    resumeURL: string;
    sequence: number;
    sessionId: string;
    shardCount: number;
    shardId: number;
}

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