- data SetCookie = SetCookie {}
- parseSetCookie :: ByteString -> SetCookie
- renderSetCookie :: SetCookie -> Builder
- type Cookies = [(ByteString, ByteString)]
- parseCookies :: ByteString -> Cookies
- renderCookies :: Cookies -> Builder
- expiresFormat :: String
- formatCookieExpires :: UTCTime -> ByteString
- parseCookieExpires :: ByteString -> Maybe UTCTime
Server to client
Client to server
type Cookies = [(ByteString, ByteString)]Source
parseCookies :: ByteString -> CookiesSource
Decode the value of a "Cookie" request header into key/value pairs.
Expires field
formatCookieExpires :: UTCTime -> ByteStringSource
Format a UTCTime
for a cookie.