1-- | This module allows parsing and generating cookie headers. You'll generally use
2-- | the `Cookie.new` function to create a cookie from a name/value pair and the
3-- | `Cookie.set*` functions to set attributes on a cookie.
5-- | `Cookie.stringify` generates the string representation of a cookie, suitable for
6-- | writing to an HTTP header.
8-- | `Cookie.parse` parses the string representation of a cookie, returning an
9-- | `Either ParseError Cookie`.
12-- | import PureStack.Cookie as Cookie
14-- | > Cookie.stringify $ Cookie.setSecure $ Cookie.new "key" "value"
17-- | > Cookie.parse "key=value; Secure"
18-- | (Right { name: "key", value: "value", secure: true, ... })
20module PureStack.Cookie
21 ( module PureStack.Cookie.Generator
22 , module PureStack.Cookie.Parser
23 , module PureStack.Cookie.Types
26import PureStack.Cookie.Generator (stringify)
27import PureStack.Cookie.Parser (parse, parseMany)
28import PureStack.Cookie.Types
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list