cb812e9 chore: http: refactor Mount "matches" functions
~garritfra pushed to ~garritfra/express-rs git
This crate emulates the behavior of the Express.js framework for Rust.
https://crates.io/crates/express-rs
See examples
directory for more examples
use express_rs::Express;
fn main() {
let mut app = Express::new();
app.get("/", |_, res| res.send("Hello World!".to_string()));
app.listen(8080);
}
This project is licensed under either of
at your option.