spec 1 linked patterns checked
MDN Web Docs: Server-sent events
Documents server-sent events as a browser API for servers to push messages to a web page over an event stream.
Read with a purpose
What this source can teach
Use this source to check a technical or accessibility requirement against its exact wording and scope.
- Start with the original. Open the source and find the guidance or example relevant to your task.
- Trace the connection. Use the claim notes below to see how this site applies the source to specific patterns.
- Check the setting. Compare the source's platform, people, and constraints with your own decision.
Pattern Decisions This Source Supports
| Pattern | Supported decision | Required contract | Claim note |
|---|---|---|---|
| Streaming response | Choose streaming response when partial generated output is useful before the full answer is ready and the product can explain partial versus final state. | The UI never presents an active stream as a complete answer until the terminal event or final validation state arrives. | Supports server-pushed event streams in web clients. |
Comparisons supported by this source
- Streaming response vs chat interface vs progress bar vs loading spinner vs feed
Supports web delivery through server-sent event streams.
Evidence Role
This source is treated as spec evidence. Its value comes from the specific claims and setting described above.
Publisher: Mozilla Developer Network. Last checked: .