Struct iron::response::Response
[-] [+]
[src]
pub struct Response {
pub status: Option<Status>,
pub headers: Headers,
pub extensions: TypeMap,
pub body: Option<Box<Read + Send>>,
}The response representation given to Middleware
Fields
Methods
impl Response
fn new() -> Response
Construct a blank Response
fn with<M: Modifier<Response>>(m: M) -> Response
Construct a Response with the specified modifier pre-applied.