# `DdDataStreams.Transport.Req`
[🔗](https://github.com/rockneurotiko/dd_data_streams/blob/main/lib/dd_data_streams/transport/req.ex#L2)

The default agent transport, backed by Req.

Req is an optional dependency, so this module is compiled only when it is
available; an application that supplies its own transport does not pull in an
HTTP client.

Only options Req has accepted since 0.5 are used, because `mix.exs` allows
any `Req ~> 0.5`: an option a version does not know makes Req raise
`ArgumentError` instead of posting. `:request_timeout` is the example - Req
added it in 0.7.0 - so the hard deadline on the whole request is enforced
with `Task.yield/2` below rather than with that option.

---

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