Module

Node.HTTP.Cookie

Package
purescript-cookie
Repository
oreshinya/purescript-cookie

#Payload Source

type Payload = { httpOnly :: Boolean, key :: String, maxAge :: Maybe Int, secure :: Boolean, value :: String }

#setCookie Source

setCookie :: forall e. Response -> Payload -> Eff (http :: HTTP | e) Unit