rweb
pub fn cookie(name: &'static str) -> impl Filter + Copy
Creates a Filter that requires a cookie by name.
Filter
If found, extracts the value of the cookie, otherwise rejects.