cookie-0.4.1.4: HTTP cookie parsing and rendering

Safe HaskellNone
LanguageHaskell98

Web.Cookie

Contents

Synopsis

Server to client

Data type

Functions

def :: Default a => a

The default value for this type.

Client to server

parseCookies :: ByteString -> Cookies Source

Decode the value of a "Cookie" request header into key/value pairs.

UTF8 Version

type CookiesText = [(Text, Text)] Source

Textual cookies. Functions assume UTF8 encoding.

Expires field