pub trait HttpClient: Send + Sync + 'static {
    // Required method
    fn get<T>(&self, path: &str) -> Result<HttpResponse<T>>
       where T: for<'a> Deserialize<'a>;
}
Expand description

Types which can make HTTP requests

Required Methods§

source

fn get<T>(&self, path: &str) -> Result<HttpResponse<T>>where T: for<'a> Deserialize<'a>,

Implementors§