pavex::cookie

Function extract_request_cookies

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

Parse cookies out of the incoming request.

It’s the default constructor for RequestCookies.