| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.CURL.CookieJar.PrettyPrinter
Description
Synopsis
Documentation
prettyCookieJar :: CookieJarHeader -> CookieJar -> Builder Source #
Print a cookie jar in the Netscape/Mozilla format, with optional leading header
data CookieJarHeader Source #
Specify what header, if any, to print at the top of the cookie jar
Some other parsers (like Perl's) require the header to be present
Constructors
| NoHeader | |
| HTTPHeader | |
| NetscapeHeader |
prettyCookieJarHeader :: CookieJarHeader -> Builder Source #
Print a cookie jar header
prettyCookie :: Cookie -> Builder Source #
Print an individual cookie on a single line
- Re-export
This is re-exported from
Builderfor convenience
toLazyByteString :: Builder -> ByteString #
Execute a Builder and return the generated chunks as a lazy ByteString.
The work is performed lazy, i.e., only when a chunk of the lazy ByteString
is forced.