Struct hyperlocal::client::UnixConnector [] [src]

pub struct UnixConnector(_);

A type which implements hyper's client connector interface for unix domain sockets

UnixConnector instances assume uri's constructued with hyperlocal::Uri::new() which produce uris with a unix:// scheme

examples

extern crate hyper;
extern crate hyperlocal;
extern crate tokio_core;

let core = tokio_core::reactor::Core::new().unwrap();
let client = hyper::Client::configure()
   .connector(
     hyperlocal::UnixConnector::new(core.handle())
   )
   .build(&core.handle());

Methods

impl UnixConnector
[src]

[src]

Trait Implementations

impl Service for UnixConnector
[src]

Requests handled by the service.

Responses given by the service.

Errors produced by the service.

The future response value.

[src]

Process the request and return the response asynchronously.

impl Clone for UnixConnector
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more