Trait tsukuyomi::output::HttpResponse[][src]

pub trait HttpResponse {
    fn status_code(&self) -> StatusCode { ... }
fn append_headers(&self, headers: &mut HeaderMap) { ... } }

[unstable] A trait representing additional information for constructing an HTTP response.

Provided Methods

Returns an HTTP status code associated with the value of this type.

Appends some entries into the header map of an HTTP response.

Implementors