Struct conduit::Response
[−]
[src]
pub struct Response { pub status: (u32, &'static str), pub headers: HashMap<String, Vec<String>>, pub body: Box<Read + Send>, }
Fields
status: (u32, &'static str)
The status code as a tuple of the return code and status string
headers: HashMap<String, Vec<String>>
A Map of the headers
body: Box<Read + Send>
A Writer for body of the response