src/prologue/middlewares/sessions/redissession

Source   Edit  

Procs

proc sessionMiddleware(settings: Settings; sessionName = "session";
                       maxAge: int = 20160 * 60; path = ""; domain = "";
                       sameSite = Lax; httpOnly = false; secure = false): HandlerAsync {.
    ...raises: [ValueError, Exception, OSError], tags: [TimeEffect, RootEffect],
    forbids: [].}
Source   Edit