pub fn attach(server: &mut Nickel<Config>, session_secret: &String) {
    server.utilize(SessionManager {
        secret: session_secret.clone(),
    });
}
// Attach the session check middleware to a server
Attach the session check middleware to a server
Attach the session check middleware to a server
pub fn attach(server: &mut Nickel<Config>, session_secret: &String) {
    server.utilize(SessionManager {
        secret: session_secret.clone(),
    });
}
pub fn attach ( server : & mut Nickel < Config > , session_secret : & String ) { server . utilize ( SessionManager { secret : session_secret . clone ( ) , } ) ; }
Attach the session check middleware to a server
Attach the session check middleware to a server
server
&mut Nickel<Config>
session_secret
&String