Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Cookie – HTTP Cookie Parsing

Lean: Hale.Cookie | Haskell: cookie

Parse Cookie and Set-Cookie headers per RFC 6265.

Key Types

TypeDescription
CookiePairString × String (name, value)

API

FunctionSignature
parseCookiesString → List CookiePair

Files

  • Hale/Cookie/Web/Cookie.lean – CookiePair, parseCookies