Trait httpc::Issue[][src]

pub trait Issue {
    #[must_use]
    fn issue<'life0, 'async_trait>(
        &'life0 self,
        request: Request<Option<String>>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Bytes>, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

A trait for issuing HTTP requests.

Required methods

Issue a request and retrieve a response.

Implementations on Foreign Types

Implementors