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]
pub fn status(&self) -> Status[src]
Get response status
pub fn headers(&self) -> &[(String, Vec<u8>)][src]
Get response headers
pub fn body(&self) -> &[u8][src]
Get response body