Module

Biscotti.Cookie.Parser

Package
purescript-biscotti-cookie
Repository
drewolson/purescript-biscotti-cookie

This module is responsible for parsing a string into an Either ParseError Cookie.

#parse Source

parse :: String -> Either ParseError Cookie

Parses a String into an Either ParseError Cookie.

> Parser.parse "key=value; Secure"
(Right { name: "key", value: "value", secure: true, ... })