Spock-0.12.0.0: Another Haskell web framework for rapid development

Safe HaskellNone
LanguageHaskell98

Web.Spock.Internal.SessionManager

Documentation

createSessionManager :: MonadIO m => SessionCfg conn sess st -> SessionIf m -> IO (SessionManager m conn sess st) #

withSessionManager :: MonadIO m => SessionCfg conn sess st -> SessionIf m -> (SessionManager m conn sess st -> IO a) -> IO a #

data Session conn sess st #

Constructors

Session 

Instances

Show (Session conn sess st) # 

Methods

showsPrec :: Int -> Session conn sess st -> ShowS #

show :: Session conn sess st -> String #

showList :: [Session conn sess st] -> ShowS #

IsSession (Session conn sess st) # 

Associated Types

type SessionKey (Session conn sess st) :: * #

Methods

getSessionKey :: Session conn sess st -> SessionKey (Session conn sess st) #

type SessionKey (Session conn sess st) # 
type SessionKey (Session conn sess st) = Text

data SessionManager m conn sess st #

Constructors

SessionManager 

Fields

data SessionIf m #

Constructors

SessionIf 

Fields