Realtime · Multiple choice

A page shows live sports scores. Only the server sends updates. Which is the simplest fit over plain HTTP, with reconnects built into the browser?

easy Networking

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.

Review this in your daily deck All cards in Realtime