pub trait HttpClient: Debug {
    // Required method
    fn request(
        &self,
        request: HttpRequest
    ) -> BoxFuture<'_, Result<HttpResponse, Error>>;
}

Required Methods§

source

fn request( &self, request: HttpRequest ) -> BoxFuture<'_, Result<HttpResponse, Error>>

Implementors§