INJECT_RESPONSE_COOKIES

Constant INJECT_RESPONSE_COOKIES 

Source
pub const INJECT_RESPONSE_COOKIES: PostProcessingMiddleware;
Expand description

A handle to add inject_response_cookies() as a post-processing middleware to your Pavex application.

§Example

use pavex::Blueprint;
// [...]
// ^ Import `INJECT_RESPONSE_COOKIES` here

let mut bp = Blueprint::new();
// Add `inject_response_cookies()` as a post-processing middleware to your application.
bp.post_process(INJECT_RESPONSE_COOKIES);