WebForge

a simple http server written in rust

Example

```rust

[tokio::main]

async fn main() { println!("Starting HTTP server..."); let mut server: HTTPServer = HTTPServer::new(([127, 0, 0, 1], 8080).into()); server.insert("/".tostring(), || { return (200, "index.html".tostring()); }); server.start().await; } ```

Also make sure put the .html files in the src/res directory.

Other

quick note: for now this project is WIP.