Trait eiktyrner::HttpClient[][src]

pub trait HttpClient where
    Self: Send + Sync + Sized
{ fn perform<'life0, 'async_trait>(
        &'life0 self,
        r: Request<Body>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Body>, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn send<'life0, 'async_trait, Req, Res>(
        &'life0 self,
        r: Request<Req>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Res::Data>, Error>> + Send + 'async_trait>>
    where
        Req: RequestContent + Send,
        Res: ResponseContent,
        Req: 'async_trait,
        Res: 'async_trait,
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
fn https() -> HttpsClient { ... } }

Required methods

Provided methods

Implementors