|
Network.HTTP.Cookie | Portability | non-portable (not tested) | Stability | experimental | Maintainer | Sigbjorn Finne <sigbjorn.finne@gmail.com> |
|
|
|
Description |
This module provides the data types and functions for working with HTTP cookies.
Right now, it contains mostly functionality needed by Network.Browser.
|
|
Synopsis |
|
|
|
Documentation |
|
data Cookie |
Cookie is the Haskell representation of HTTP cookie values.
See its relevant specs for authoritative details.
| Constructors | | Instances | |
|
|
cookieMatch :: (String, String) -> Cookie -> Bool |
cookieMatch (domain,path) ck performs the standard cookie
match wrt the given domain and path.
|
|
cookieToHeader :: Cookie -> Header |
cookieToHeader ck serialises a Cookie to an HTTP request header.
|
|
processCookieHeaders :: String -> [Header] -> ([String], [Cookie]) |
processCookieHeaders dom hdrs |
|
Produced by Haddock version 2.7.2 |