# `Opsmaru.Containers.Docker.Raw`
[🔗](https://github.com/upmaru/opsmaru-containers/blob/v0.1.0/lib/opsmaru/containers/docker/raw.ex#L1)

Docker HTTP/1.1 handoff for a host listener that owns the downstream stream.

The host passes the parsed request, its bounded body and any bytes already
read after that body. After admission and an accepted engine handshake
the relay writes the response and owns both streams. Otherwise the host
retains its stream and can send the returned ordinary HTTP response.

# `relay`

Forward a raw-capable request using separate admission and stream deadlines.

The request contains `:method`, `:path`, `:query`, `:headers` and `:body`
with optional host peer metadata. Header names are lowercase. The listener
must parse HTTP/1.1 framing before handing off and authenticate via the
configured host callback.

---

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