Rocket/core
Matthew Pomes 9aa14d0e24 Add support for checking which route routed a request
- Adds RouteType and CatcherType traits to identify routes and catchers
- RouteType and CatcherType are implemented via codegen for attribute
macros
- Adds routed_by and caught_by methods to local client response
- Adds catcher to RequestState
- Updates route in RequestState to None if a catcher is run
- examples/hello tests now also check which route generated the reponse
- Adds DefaultCatcher type to represent Rocket's default catcher
- FileServer now implements RouteType
2023-10-18 01:30:02 -07:00
..
codegen Add support for checking which route routed a request 2023-10-18 01:30:02 -07:00
http Update dependencies. 2023-10-09 17:03:21 -07:00
lib Add support for checking which route routed a request 2023-10-18 01:30:02 -07:00