Struct hyper::client::Response
[−]
[src]
pub struct Response { /* fields omitted */ }
A response for a client request to a remote server.
Methods
impl Response
[src]
fn headers(&self) -> &Headers
Get the headers from the server.
fn status(&self) -> &StatusCode
Get the status from the server.
fn status_raw(&self) -> &RawStatus
Get the raw status code and reason.
fn version(&self) -> &HttpVersion
Get the HTTP version of this response from the server.
fn body(self) -> Body
Take the Body
of this response.