| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Web.Sprinkles.SessionStore
Synopsis
- type SessionID = ByteString
- data SessionExpiry
- data SessionNotFoundException = SessionNotFoundException
- data SessionSupportDisabled = SessionSupportDisabled
- data SessionStore = SessionStore {}
- nullSessionStore :: SessionStore
Documentation
type SessionID = ByteString Source #
data SessionExpiry Source #
Constructors
| NeverExpires | |
| Expires POSIXTime |
Instances
| Eq SessionExpiry Source # | |
Defined in Web.Sprinkles.SessionStore Methods (==) :: SessionExpiry -> SessionExpiry -> Bool # (/=) :: SessionExpiry -> SessionExpiry -> Bool # | |
| Show SessionExpiry Source # | |
Defined in Web.Sprinkles.SessionStore Methods showsPrec :: Int -> SessionExpiry -> ShowS # show :: SessionExpiry -> String # showList :: [SessionExpiry] -> ShowS # | |
data SessionNotFoundException Source #
Constructors
| SessionNotFoundException |
Instances
| Show SessionNotFoundException Source # | |
Defined in Web.Sprinkles.SessionStore Methods showsPrec :: Int -> SessionNotFoundException -> ShowS # show :: SessionNotFoundException -> String # showList :: [SessionNotFoundException] -> ShowS # | |
| Exception SessionNotFoundException Source # | |
Defined in Web.Sprinkles.SessionStore | |
data SessionSupportDisabled Source #
Constructors
| SessionSupportDisabled |
Instances
| Show SessionSupportDisabled Source # | |
Defined in Web.Sprinkles.SessionStore Methods showsPrec :: Int -> SessionSupportDisabled -> ShowS # show :: SessionSupportDisabled -> String # showList :: [SessionSupportDisabled] -> ShowS # | |
| Exception SessionSupportDisabled Source # | |
Defined in Web.Sprinkles.SessionStore | |
data SessionStore Source #
Common interface for session store backends.
Constructors
| SessionStore | |
Fields
| |