You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Milan 6b73b00363 format 8 months ago
src format 8 months ago
.gitignore initial commit 8 months ago
Cargo.lock initial commit 8 months ago
Cargo.toml initial commit 8 months ago add README 8 months ago

Hyper example

I built this example because I did not find a good example like this before, where the application state is stored in a struct and the request handler function operates on this struct. Maybe this can save someone some time.

If you use this, you have to build proper error handling and replace the unwrap() calls in handle_req()!