Struct gerritlib::call::Call
[−]
[src]
pub struct Call { /* 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 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.