aboutsummaryrefslogtreecommitdiff
path: root/examples/empty.rs
blob: a1b5d677c9ee44cc3f17e8c9c71119ba965ff719 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
//! `cargo run --example empty`

#[windmark::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
  windmark::router::Router::new()
    .set_private_key_file("windmark_private.pem")
    .set_certificate_file("windmark_public.pem")
    .run()
    .await
}