Crate hyperlocal

Source
Expand description

hyperlocal provides Hyper bindings for Unix domain sockets.

See the examples for how to configure a client or a server.

§Features

  • Client- enables the client extension trait and connector. Enabled by default.

  • Server- enables the server extension trait. Enabled by default.

Structs§

UnixConnector
the [UnixConnector] can be used to construct a [hyper::Client] which can speak to a unix domain socket.
UnixStream
Wrapper around tokio::net::UnixStream.
Uri
A convenience type that can be used to construct Unix Domain Socket URIs

Traits§

UnixClientExt
Extension trait for constructing a hyper HTTP client over a Unix domain socket.
UnixListenerExt
Extension trait for provisioning a hyper HTTP server over a Unix domain socket.