Options
Why
SSE is a long-lived HTTP response streaming events, and the browser's EventSource reconnects and resumes on its own. WebSockets also work but add a protocol upgrade and two-way framing that one-way updates do not need.
Realtime · Multiple choice
SSE is a long-lived HTTP response streaming events, and the browser's EventSource reconnects and resumes on its own. WebSockets also work but add a protocol upgrade and two-way framing that one-way updates do not need.