Rewrite URL handling + add example

This commit is contained in:
Mark
2021-03-16 22:02:31 +02:00
parent f5ff848ff8
commit ecb32b205c
13 changed files with 682 additions and 145 deletions
+12
View File
@@ -0,0 +1,12 @@
use algem::{server, ServerConfig};
fn main() {
let config = ServerConfig {
bind_address: "0.0.0.0:1965".to_string(),
identity_file: "identity.pfx".to_string(),
thread_count: 4
};
env_logger::init();
server::run(&config);
}