[](https://crates.io/crates/weber) [](https://github.com/Blinc13/weber) --- # Example ```rust use std::collections::HashMap; use weber::{ HttpServer, parser::{ Content, ContentType } }; fn main() { // Building a server that runs in 4 threads let mut server = HttpServer::new(4); // Creating map with default values let mut default = HashMap::new(); default.insert("foo".to_string(), "gg".to_string()); default.insert("bar".to_string(), "hi".to_string()); server.add_page("/", move | request | { let vals = request.path.values.as_ref().unwrap_or(&default); // Getting values from url let foo = match vals.get("foo") { None => "Variable not defined", Some(foo) => foo }; let bar = match vals.get("bar") { None => "Variable not defined", Some(bar) => bar }; let html = format!( "