---
id: server-sent-events-in-endpoints
title: "Server Sent Events in Endpoints Example"
sidebar_label: "Server Sent Events in Endpoints"
---

```scala mdoc:passthrough
import utils._

printSource("zio-http-example/src/main/scala/example/ServerSentEventEndpoint.scala")
```
