aitch
aitch copied to clipboard
Create a production ready request Router
The crate provides SimpleRouter
, which is primarily an example of how one might build a router or other complex middleware.
We should also provide (possible in a separate crate), a more production ready router, with features like:
- matching request method
- more complex path matching
- passing parameters from path into handler functions