Server-Sent Events (SSE)
What is Server-Sent Events (SSE)?
In one sentence: Server-Sent Events is a web technology that lets a server keep sending updates to a browser or app over one open connection.
What does Server-Sent Events (SSE) look like?
An AI API sending "data: {token: 'Hello'}" events one after another uses SSE.
Why does Server-Sent Events (SSE) matter?
SSE is a simple and common way to stream AI responses.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/server-sent-events-sse/">Server-Sent Events (SSE), explained simply</a> (The AI Math Dictionary)