Rocket/core/lib
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
..
fuzz Remove unnecessary braces. 2023-08-14 14:16:56 -04:00
src Add support for checking which route routed a request 2023-10-18 01:30:02 -07:00
tests Update 'cookie' to 0.18. 2023-09-28 23:50:29 -07:00
Cargo.toml Update dependencies. 2023-10-09 17:03:21 -07:00
build.rs Migrate Rocket to Rust 2021 edition. 2022-04-19 18:35:38 -07:00