Function rweb::cookie [−][src]
pub fn cookie<T>(name: &'static str) -> impl Filter + Copy where
T: 'static + FromStr + Send,
Expand description
Creates a Filter
that requires a cookie by name.
If found, extracts the value of the cookie, otherwise rejects.