Expand description
Connect hyper servers and clients to Unix-domain sockets.
Most of this crate’s functionality is borrowed from hyperlocal. This crate supports async/await, while hyperlocal does not (yet).
See UnixClient
and UnixConnector
for examples.
Structs§
- UDS
- Newtype for
tokio::net::UnixStream
so that it can work with hyper’sClient
. - Unix
Client - Converts
Uri
totokio::net::UnixStream
. - Unix
Connector - Wrapper around
tokio::net::UnixListener
that works withhyper
servers. - Uri
- A type which implements
Into
for hyper’shyper::Uri
type targetting unix domain sockets.