Skip to main content

route_class

Function route_class 

Source
pub(crate) fn route_class(method: &Method, path: &str) -> RouteClass
Expand description

How a route takes a session. Every route needs the cookie and the token, except the GETs named in COOKIE_ONLY_GET.