Skip to main content

request_cookie

Function request_cookie 

Source
pub fn request_cookie(req: &HttpRequest) -> Option<String>
Expand description

Cookie header of the request, for ServerState::request_with_cookie.

HTTP/2 may send the cookies as several header fields; they are joined with ; (RFC 9113, section 8.2.3).