Contents
Index
Framework.Http.SessionTypes
Synopsis
type
SessionID
= String
type
SessionMap
= Map String String
data
Session
=
NewSession
SessionID
|
ExistingSession
SessionID
SessionMap
class
SessionBackend
b
where
sinit
:: String -> IO b
sfetch
:: b ->
SessionID
-> IO
SessionMap
spush
:: b ->
SessionID
->
SessionMap
-> IO ()
sfree
:: b -> IO ()
data
SessionsConnection
=
forall
b .
SessionBackend
b =>
SConnection
b
Documentation
type
SessionID
= String
type
SessionMap
= Map String String
data
Session
Session data
Constructors
NewSession
SessionID
ExistingSession
SessionID
SessionMap
Instances
Show
Session
class
SessionBackend
b
where
Methods
sinit
:: String -> IO b
sfetch
:: b ->
SessionID
-> IO
SessionMap
spush
:: b ->
SessionID
->
SessionMap
-> IO ()
sfree
:: b -> IO ()
Instances
SessionBackend
FilesBackend
data
SessionsConnection
Container type for any sessions backend connection
Constructors
forall
b .
SessionBackend
b =>
SConnection
b
Instances
Show
SessionsConnection
Produced by
Haddock
version 2.4.2