[][src]Trait eiktyrner::HttpClient

pub trait HttpClient where
    Self: Send + Sync + Sized + 'static, 
{ fn perform(&self, r: Request<Body>) -> ResponseFuture; fn send<Req, Res>(&self, r: Request<Req>) -> ResponseFuture<Res::Data>
    where
        Req: RequestContent + 'static,
        Res: ResponseContent + 'static
, { ... }
fn https(connector_threads: usize) -> HttpsClient { ... } }

Required methods

Loading content...

Provided methods

fn send<Req, Res>(&self, r: Request<Req>) -> ResponseFuture<Res::Data> where
    Req: RequestContent + 'static,
    Res: ResponseContent + 'static, 

fn https(connector_threads: usize) -> HttpsClient

Loading content...

Implementors

impl HttpClient for HttpsClient[src]

Loading content...