Rocket/lib
Sergio Benitez 6a9421935e Add 'Request::route' method to get active 'Route'.
This commit also adds the `base` field to `Route` which allows the
base mount point to be retrieved. Finally, this commits adds an
implementation of `FromRequest` for `Route` which returns the active
route if one is available or forwards otherwise.

This commit is a breaking change: it makes `Request` and `MockRequest`
invariant over the lifetime `'r`. While this shouldn't affect most
applications, it may affect some.

Resolves #108.
2017-05-29 18:00:33 -07:00
..
benches Add hello_world benchmark. 2017-05-19 19:39:10 -07:00
src Add 'Request::route' method to get active 'Route'. 2017-05-29 18:00:33 -07:00
tests Add 'Request::route' method to get active 'Route'. 2017-05-29 18:00:33 -07:00
build.rs Reclose connection on unread data. Minimum nightly is 1.19. 2017-05-13 02:00:35 -07:00
Cargo.toml New version: 0.2.7. 2017-05-26 20:37:54 -07:00