Module
HTTPure.Contrib.Biscotti.Middleware
- Package
- purescript-httpure-contrib-biscotti
- Repository
- drewolson/purescript-httpure-contrib-biscotti
#CookieUpdater Source
type CookieUpdater m = Cookie -> m Cookie
#ErrorHandler Source
type ErrorHandler m = Response -> SessionError -> m Response
#SessionError Source
#defaultCookieUpdater Source
defaultCookieUpdater :: forall m. MonadAff m => CookieUpdater m
#defaultErrorHandler Source
defaultErrorHandler :: forall m. MonadAff m => ErrorHandler m
#new Source
new :: forall a m. MonadAff m => EncodeJson a => DecodeJson a => String -> SessionStore a -> (Maybe a -> Request -> m (Tuple Response (Maybe a))) -> Request -> m Response
#new' Source
new' :: forall a m. MonadAff m => EncodeJson a => DecodeJson a => String -> SessionStore a -> ErrorHandler m -> CookieUpdater m -> (Maybe a -> Request -> m (Tuple Response (Maybe a))) -> Request -> m Response