ReadonlyboundThe full JID bound when the session was enabled.
ReadonlyenabledWhether
ReadonlyresumedWhether the current session was established by resumption.
ReadonlyresumeWhether a
Whether the current stream's features advertised
ReadonlystateThe live SM session state (fields are mutable; the reference is not reassigned).
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:
Optionalview: StanzaViewOptionalresumeFailed: 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
The Stream Management surface a page-side Connection depends on, implemented by both the worker-free engine (engine.ts) and the worker-mode page mirror (mirror.ts). Typing
Connection.smagainst this (rather than the concrete engine class) is what lets the mirror be a peer implementation instead of a subclass full of neutralised overrides: any member added here must be implemented by both sides, so the mirror can never silently inherit a live engine method it was meant to render inert.