Crate hyper_unix_connector

Source
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’s Client.
UnixClient
Converts Uri to tokio::net::UnixStream.
UnixConnector
Wrapper around tokio::net::UnixListener that works with hyper servers.
Uri
A type which implements Into for hyper’s hyper::Uri type targetting unix domain sockets.