//! `cargo run --example mime` #[windmark::main] async fn main() -> Result<(), Box> { windmark::router::Router::new() .set_private_key_file("windmark_private.pem") .set_certificate_file("windmark_public.pem") .mount("/mime", |_| { windmark::response::Response::success("Hello!".to_string()) .with_mime("text/plain") .clone() }) .run() .await }