pub fn register_session_route(router: &mut nickel::Router<Config>, session_secret: &String) {
    router.post(
        "/session",
        SessionCreation {
            secret: session_secret.clone(),
        },
    );
}
// Register route for the session management route
Register route for the session management route
Register route for the session management route
pub fn register_session_route(router: &mut nickel::Router<Config>, session_secret: &String) {
    router.post(
        "/session",
        SessionCreation {
            secret: session_secret.clone(),
        },
    );
}
pub fn register_session_route ( router : & mut nickel :: Router < Config > , session_secret : & String ) { router . post ( " " , SessionCreation { secret : session_secret . clone ( ) , } , ) ; }
Register route for the session management route
Register route for the session management route
router
&mut nickel::Router<Config>
session_secret
&String