Implement Server-Sent Events per the WHATWG / RFC 8895 spec. ## Scope - `text/event-stream` response mode with chunked / HTTP-2 framing. - Public PHP API for emitting events: `id`, `event`, `data`, `retry` fields. - Automatic flush on each event; integration with the response writer's backpressure. - Heartbeat / keep-alive comments to prevent intermediary timeouts. - Last-Event-ID resume header surfaced on the request. - Works over HTTP/1.1, HTTP/2, and HTTP/3. - PHPT tests covering reconnection, ID propagation, and backpressure. ## Acceptance - Browser EventSource clients connect and receive events end-to-end. - No buffering between PHP `send()` and the wire under load.
Activity
feat(sse): Server-Sent Events API on HttpResponse
docs(static): update PLAN_STATIC_HANDLER status section
feat(static): single byte-range + If-Range (#13 PR #3)
docs(static): sync §5a + §6 + §7 to closed work in this branch
feat(sse): first-class Server-Sent Events API on HttpResponse (#3)
Merge pull request #91 from true-async/3-server-sent-events-sse-support
Merge SSE follow-up fixes: empty-stream commit + send()/SSE guards (#3)
fix(sse): absorb submit-failure exception on the awaiting send path (#3)
fix(h3): absorb read-submit failure in the static-file pump (#3)
chore(release): 0.8.1