scotty-session-0.0.5: Adding session functionality to scotty

Safe HaskellNone
LanguageHaskell2010

Web.Scotty.Session

Synopsis

Documentation

createSessionManager :: MonadIO m => ScottyT e m (ScottySM a) Source

Create a new session manager

modifySession :: (MonadIO m, ScottyError e) => ScottySM a -> (Maybe a -> Maybe a) -> ActionT e m () Source

Modify the current users session

readSession :: (MonadIO m, ScottyError e) => ScottySM a -> ActionT e m (Maybe a) Source

Read the current users session