| Safe Haskell | None |
|---|
Web.Apiary.ClientSession
- type HasSession = [webApiaryClientSessionSession :: Session]
- data SessionConfig = SessionConfig {}
- withSession :: MonadIO m => SessionConfig -> (HasSession => m b) -> m b
- setSession :: HasSession => ByteString -> ByteString -> Action ()
- setSessionWith :: HasSession => (SetCookie -> SetCookie) -> ByteString -> ByteString -> Action ()
- setRawSession :: HasSession => Maybe DiffTime -> SetCookie -> Action ()
- session :: (Strategy w, Query a, HasSession) => ByteString -> Proxy (w a) -> Apiary (SNext w as a) b -> Apiary as b
- module Data.Default.Class
- module Web.Apiary.Cookie
Documentation
type HasSession = [webApiaryClientSessionSession :: Session]Source
withSession :: MonadIO m => SessionConfig -> (HasSession => m b) -> m bSource
setter
Arguments
| :: HasSession | |
| => ByteString | key |
| -> ByteString | value |
| -> Action () |
Arguments
| :: HasSession | |
| => (SetCookie -> SetCookie) | postprocess |
| -> ByteString | key |
| -> ByteString | value |
| -> Action () |
setRawSession :: HasSession => Maybe DiffTime -> SetCookie -> Action ()Source
filter
session :: (Strategy w, Query a, HasSession) => ByteString -> Proxy (w a) -> Apiary (SNext w as a) b -> Apiary as bSource
Reexport
def
module Data.Default.Class
module Web.Apiary.Cookie