Whether the current stream's features advertised
The full JID bound when the session was enabled.
Whether
Whether the current session was established by resumption.
Whether a
The live SM session state (fields are mutable; the reference is not reassigned).
The SM-ID of the fresh session.
The server's preferred maximum resumption time.
The JID that was bound when the session was enabled.
The worker's boundJid for the resumed session.
Optionalid: string
The SM-ID of the resumed session.
Optionalmax: number
The server's preferred maximum resumption time.
Whether persisted state allows attempting
Load persisted resumable state for the given (bare) JID.
Whether outbound stanzas are currently being tracked (i.e.
Overridable event hook: a session was established via
Overridable event hook:
Optional_view: StanzaViewOptional_resumeFailed: booleanProcess an inbound top-level element (count a stanza or handle a nonza).
Count an inbound top-level stanza by name.
Overridable event hook: the previous session was resumed via
Reset the in-memory session state.
Send
Send
A page-side stand-in for the worker-resident engine: when the connection runs through a SharedWorker, the worker owns all counting, queueing and nonza handling, and the page only mirrors the session state so that
Connection.hasResumed()and friends keep working.