# `Snodo.Transport.StreamableHTTP.StreamResponse`
[🔗](https://github.com/joshrotenberg/snodo/blob/v0.2.0/lib/snodo/transport/streamable_http/stream_response.ex#L1)

A transport-server-agnostic long-lived SSE response descriptor.

Embedding HTTP stacks write the headers and acknowledgement, then use the
contained `Snodo.Subscription` lifecycle API to pull and shape events.

# `headers`

```elixir
@type headers() :: [{String.t(), String.t()}]
```

# `t`

```elixir
@type t() :: %Snodo.Transport.StreamableHTTP.StreamResponse{
  headers: headers(),
  keepalive_ms: pos_integer(),
  status: pos_integer(),
  subscription: Snodo.Subscription.t()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
