|
8 months ago | |
---|---|---|
src | 8 months ago | |
.gitignore | 8 months ago | |
Cargo.lock | 8 months ago | |
Cargo.toml | 8 months ago | |
README.md | 8 months ago |
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()
!