Filo.Client.Transport.Mint (Filo v0.2.0)

Copy Markdown View Source

The default Filo.Client.Transport, over Mint.

Mint is an optional dependency: it is not pulled in by depending on Filo, so a host that only serves Hrana never pays for it. To use the client with this transport, add {:mint, "~> 1.6"} to your deps (or pass your own :transport).

One owned HTTP/1 connection in passive mode, so the request/response round-trip is synchronous — the natural fit for a single sequential Hrana stream, with one such connection held per client process.