∙ Chapter 76

HTML SSE (Server-Sent Events)

SSE lets the server stream updates to the browser over a single HTTP connection. It's great for live notifications and dashboards.

📶JS example
const es = new EventSource('/events');es.onmessage = (e) => console.log('Update:', e.data);