-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | HTTP cookie parsing and rendering -- -- HTTP cookie parsing and rendering @package cookie @version 0.2.0 module Web.Cookie data SetCookie SetCookie :: ByteString -> ByteString -> Maybe ByteString -> Maybe UTCTime -> Maybe ByteString -> SetCookie setCookieName :: SetCookie -> ByteString setCookieValue :: SetCookie -> ByteString setCookiePath :: SetCookie -> Maybe ByteString setCookieExpires :: SetCookie -> Maybe UTCTime setCookieDomain :: SetCookie -> Maybe ByteString parseSetCookie :: ByteString -> SetCookie renderSetCookie :: SetCookie -> Builder type Cookies = [(ByteString, ByteString)] -- | Decode the value of a "Cookie" request header into key/value pairs. parseCookies :: ByteString -> Cookies renderCookies :: Cookies -> Builder expiresFormat :: String -- | Format a UTCTime for a cookie. formatCookieExpires :: UTCTime -> ByteString parseCookieExpires :: ByteString -> Maybe UTCTime instance Eq SetCookie instance Show SetCookie instance Read SetCookie