Struct conduit::Response [] [src]

pub struct Response {
    pub status: (u32, &'static str),
    pub headers: HashMap<StringVec<String>>,
    pub body: Box<Read + 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