Module

HTTPure.Contrib.Biscotti.SessionManager

Package
purescript-httpure-contrib-biscotti
Repository
drewolson/purescript-httpure-contrib-biscotti

#createSession Source

createSession :: forall a m. MonadAff m => EncodeJson a => SessionStore a -> a -> Response -> m (Either String Response)

#createSession' Source

createSession' :: forall a m. MonadAff m => EncodeJson a => SessionStore a -> (Cookie -> m Cookie) -> a -> Response -> m (Either String Response)

#destroySession Source

#getSession Source

getSession :: forall a m. MonadAff m => DecodeJson a => String -> SessionStore a -> Request -> m (Either String a)

#setSession Source

setSession :: forall a m. MonadAff m => EncodeJson a => String -> SessionStore a -> a -> Request -> Response -> m (Either String Response)

#setSession' Source

setSession' :: forall a m. MonadAff m => EncodeJson a => String -> SessionStore a -> (Cookie -> m Cookie) -> a -> Request -> Response -> m (Either String Response)