Christian Tanul 722462c8d7
Document SSE pauseOnBackground behavior and Last-Event-ID resumption (#3681)
Document pauseOnBackground behavior and Last-Event-ID resumption

Add a "Background Tab Behavior" section to the SSE extension docs
explaining that messages are lost while the tab is backgrounded and
how servers can use id: fields and Last-Event-ID to replay them.
Includes a FastAPI + sse-starlette example.

Add a test verifying that reconnection after a background pause sends
the Last-Event-ID header and that the server can replay missed messages.
2026-03-12 07:42:29 -06:00
..
2026-02-26 13:58:26 -07:00
2026-02-26 13:14:24 -07:00
2026-02-26 13:44:03 -07:00
2026-02-26 13:40:49 -07:00
2026-02-26 13:44:03 -07:00