# `MailglassInbound.Ingress.CachingBodyReader`
[🔗](https://github.com/szTheory/mailglass/blob/v0.1.0/lib/mailglass_inbound/ingress/caching_body_reader.ex#L1)

Package-local `Plug.Parsers` body reader for inbound provider verification.

Stores exact request bytes in `conn.private[:raw_body]` so the inbound plug
can verify provider authenticity before any tenant or persistence work runs.

# `read_body`

```elixir
@spec read_body(
  Plug.Conn.t(),
  keyword()
) ::
  {:ok, binary(), Plug.Conn.t()}
  | {:more, binary(), Plug.Conn.t()}
  | {:error, term()}
```

---

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