trillium client is a http client that uses the same
conn approach as
this was primarily built for the
but might end up fitting well into trillium apps for other purposes.
In order to use http keep-alive connection pooling, make requests from
trillium_client::Client. To make a one-off request,
trillium_client::Conn directly. Please note that a
trillium_client Conn, while conceptually similar, is different from
trillium::Conn and trillium_http::Conn.
Conn are generic over an implementation of
Connector. Each runtime crate (
a Connector implementation, which can optionally be combined with a
tls crate (
each offer Connector wrappers.
A client contains a Config and an optional connection pool and builds conns.
a client connection, representing both an outbound http request and a http response
Concrete errors that occur within trillium’s http implementation
Interface for runtime and tls adapters for the trillium client
this crate’s result type