[−][src]Function rweb::filters::cookie::optional
pub fn optional(name: &'static str) -> impl Filter + Copy
Creates a Filter
that looks for an optional cookie by name.
If found, extracts the value of the cookie, otherwise continues
the request, extracting None
.