Struct docktape::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]

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.

Process the request and return the response asynchronously.

impl Clone for UnixConnector
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for UnixConnector

impl !Sync for UnixConnector