Struct gerritlib::call::Call
[−]
[src]
pub struct Call { // some fields omitted }
Abstraction of a HTTP call
Methods
impl Call
[src]
fn new(url: String) -> Call
Creates a new http call with the base address of a gerrit server
fn set_credentials<S>(&mut self, username: S, password: S) where S: Into<String>
fn get(&self, path: &str, querystring: &str) -> GGRResult<CallResponse>
Does a GET
Request and returns a CallResponse. Only path and querystring is needed. The
base url was setup via Call::new()
function.