1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-31 08:57:00 +02:00

add extractors info to guide

This commit is contained in:
Nikolay Kim
2018-03-31 09:18:25 -07:00
parent 3ee228005d
commit 16c212f853
7 changed files with 64 additions and 9 deletions

View File

@@ -8,7 +8,8 @@ use httprequest::HttpRequest;
/// Trait defines resource route predicate.
/// Predicate can modify request object. It is also possible to
/// to store extra attributes on request by using `.extensions()` method.
/// to store extra attributes on request by using `Extensions` container,
/// Extensions container available via `HttpRequest::extensions()` method.
pub trait Predicate<S> {
/// Check if request matches predicate