Macro html

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

Produces OK 200 response with HTML body

§Examples

§Default usage

 use volga::html;

 html!(
    r#"
    <!doctype html>
    <html>
        <head>Hello!</head>
        <body>
            <p>Hello, World!</p>
        </body>
    </html>
    "#);