Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.6.0
-
None
-
None
Description
According to https://jmap.io/spec-core.html#event-source
The server SHOULD also send a new event id that encodes the entire server state visible to the user immediately after sending a state event. When a new connection is made to the event-source endpoint, a client following the server-sent events specification will send a Last-Event-ID HTTP header field with the last id it saw, which the server can use to work out whether the client has missed some changes. If so, it SHOULD send these changes immediately on connection.
This is currently not implemented.
This enable re-synchronization in the face of intermittent network connection using only SSE, without API calls.
This is somehow equivalent to RFC-8887 (JMAP over websocket) `pushState` mechanism. See https://tools.ietf.org/html/rfc8887.