Module

HTTPure.Contrib.Biscotti.SessionManager

#createSession

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

#createSession'

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

#destroySession

#getSession

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

#setSession

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

#setSession'

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

Modules