ReadonlycapabilitiesReadonlyclashReadonlyclosedReadonlyprotocolReadonlyresumeWith connection.resume: the viewer's stream and the number of the last event this connection read, or the
viewer's head when it connected (before the first event); null from a viewer without the capability. Keep it where a reloaded page finds it (say
sessionStorage, on pagehide) and pass it as resumeFrom to get the events this page missed.
Says bye and closes the port; pending requests reject with closed.
Events reached before the first listener of their type are handed to it (at most 32 per type).
Rejects with a HostProtocolError: refused (the viewer's error reply), timeout, closed or missing-capability.
The viewer's protocol version. Decide features by
has, never by the minor.