Copyright | (c) 2015 Athan Clark |
---|---|
License | BSD-3 |
Maintainer | athan.clark@gmail.com |
Stability | experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
A simple interface for storing and parsing session information into cookies, which slightly differs from the wai-session interface designed by Greg Weber.
Documentation
data SessionConfig m k v Source
SessionConfig | |
|
sessionMiddleware :: Monad m => SessionConfig m k v -> MiddlewareT m Source
parseSessionCookies :: SessionConfig m k v -> RequestHeaders -> Maybe (k, v) Source
renderSessionCookies :: SessionConfig m k v -> k -> v -> ResponseHeaders Source