Struct tk_http::client::buffered::Response
[−]
[src]
pub struct Response { /* fields omitted */ }
A buffered response holds contains a body as contiguous chunk of data
Methods
impl Response
[src]
fn status(&self) -> Status
Get response status
fn headers(&self) -> &[(String, Vec<u8>)]
Get response headers
fn body(&self) -> &[u8]
Get response body