Trait wikipedia::http::HttpClient
[−]
[src]
pub trait HttpClient: Default {
fn user_agent(&mut self, user_agent: String);
fn get<'a, I>(&self, base_url: &str, args: I) -> Result<String, Error> where I: Iterator<Item=(&'a str, &'a str)>;
}
Required Methods
fn user_agent(&mut self, user_agent: String)
fn get<'a, I>(&self, base_url: &str, args: I) -> Result<String, Error> where I: Iterator<Item=(&'a str, &'a str)>
Implementors
impl HttpClient for Client