pub struct Uri<'a> { /* fields omitted */ }A type which implements Into for hyper's hyper::Uri type
targetting unix domain sockets.
You can use this with any of
the HTTP factory methods on hyper's Client interface
and for creating requests
extern crate hyper;
extern crate hyperlocal;
let url: hyper::Uri = hyperlocal::Uri::new(
"/path/to/socket", "/urlpath?key=value"
).into();
let req = hyper::Request::get(url).body(()).unwrap();
Productes a new Uri from path to domain socket and request path.
request path should include a leading slash
Formats the value using the given formatter. Read more