Trait wasmer_wasix::http::client::HttpClient

source ·
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§

source§

impl HttpClient for ReqwestHttpClient

source§

impl<D, C> HttpClient for D
where D: Deref<Target = C> + Debug, C: HttpClient + ?Sized + 'static,