Struct conduit::Response [] [src]

pub struct Response {
    pub status: (u32, &'static str),
    pub headers: HashMap<String, Vec<String>>,
    pub body: Box<WriteBody + Send>,
}

Fields

The status code as a tuple of the return code and status string

A Map of the headers

A Writer for body of the response