Macro response

Source
macro_rules! response {
    ($status:expr, $body:expr) => { ... };
    ($status:expr, $body:expr, [ $( ($key:expr, $value:expr) ),* $(,)? ]) => { ... };
}
Expand description

Creates an HTTP response with status, body and headers