cookie-0.4.0.1: HTTP cookie parsing and rendering

Safe HaskellNone

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 -> CookiesSource

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