SESSION_CONFIG

Constant SESSION_CONFIG 

Source
pub const SESSION_CONFIG: Config;
Expand description

A strongly-typed id to register SessionConfig as a configuration type to your Pavex application.

§Example

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

let mut bp = Blueprint::new();
// Add `SessionConfig` as a configuration to your application.
bp.config(SESSION_CONFIG);