Module

Hyper.Cookies

Package
purescript-hyper
Repository
owickstrom/hyper

#Name Source

type Name = String

#Value Source

type Value = String

#cookies Source

cookies :: forall c res req m. Monad m => Request req m => Middleware m (Conn req res { cookies :: Unit | c }) (Conn req res { cookies :: Either String (StrMap Values) | c }) Unit

#setCookie Source

setCookie :: forall b c res req m. Monad m => Response res m b => Name -> Value -> Middleware m (Conn req (res HeadersOpen) c) (Conn req (res HeadersOpen) c) Unit