mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-24 08:22:59 +01:00
doc string
This commit is contained in:
parent
4b1a471b35
commit
9619698543
@ -169,6 +169,8 @@ impl<S: 'static> Route<S> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Set async handler function, use request extractor for parameters.
|
/// Set async handler function, use request extractor for parameters.
|
||||||
|
/// Also this method needs to be used if your handler function returns
|
||||||
|
/// `impl Future<>`
|
||||||
///
|
///
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// # extern crate bytes;
|
/// # extern crate bytes;
|
||||||
|
Loading…
Reference in New Issue
Block a user