Function pavex::cookie::inject_response_cookies
source ยท pub fn inject_response_cookies(
response: Response,
response_cookies: ResponseCookies,
processor: &Processor,
) -> Result<Response, InjectResponseCookiesError>
Expand description
Attach cookies to the outgoing response.
It consumes ResponseCookies
by value since no response cookies should be
added after the execution of this middleware.