Struct gerritlib::call::CallRequest [] [src]

pub struct CallRequest<'a> { /* fields omitted */ }

Methods

impl<'a> CallRequest<'a>
[src]

adds a specific header to the request

sets the JSON request body for the request.

attaches some form data to the request.

enables or disables redirects. The default is off.

Sends the request and writes response data into the given file instead of the response object's in memory buffer.

Sends the request and reads the response body into the response object.