pavex::cookie

Function extract_request_cookies

Source
pub fn extract_request_cookies<'request>(
    request_head: &'request RequestHead,
    processor: &Processor,
) -> Result<RequestCookies<'request>, ExtractRequestCookiesError>
Expand description

Parse cookies out of the incoming request.

It’s the default constructor for RequestCookies.