# Server-Sent Events

A response kept open so the server can push a stream of events.

## What is **Server-Sent Events**?

**Server-sent events** keep a response open so the server can push a stream of text events to the browser, simpler than WebSockets when data only flows one way.

```text
Content-Type: text/event-stream

data: {"progress": 40}

data: {"progress": 80}
```

Level: Master · [More Web Development terms at this level](https://www.ask-codey.com/glossary/subjects/web-development/master)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/server-sent-events
