new example in readme.md

This commit is contained in:
MeexReay 2024-06-22 16:10:15 +03:00
parent 7c5e6dc9c7
commit 3a7387b894

View File

@ -51,7 +51,7 @@ fn main() {
HttpServerStarter::new(site, host)
.timeout(Some(Duration::from_secs(5))) // read & write timeout
.threads(5) // threadpool size
.start()
.start_forever()
.expect("http server error");
}
```