Network.Curl.Info

curl-1.3.8: Haskell binding to libcurl

Copyright | (c) 2007-2009, Galois Inc
License | BSD3
Maintainer | Sigbjorn Finne <sof@galois.com>
Stability | provisional
Portability | portable
Safe Haskell | Safe
Language | Haskell98

Network.Curl.Info

Description

Accessing the properties of a curl handle's current state/request.

# Documentation

data Info

Constructors

EffectiveUrl |
ResponseCode |
TotalTime |
NameLookupTime |
ConnectTime |
PreTransferTime |
SizeUpload |
SizeDownload |
SpeedDownload |
SpeedUpload |
HeaderSize |
RequestSize |
SslVerifyResult |
Filetime |
ContentLengthDownload |
ContentLengthUpload |
StartTransferTime |
ContentType |
RedirectTime |
RedirectCount |
Private |
HttpConnectCode |
HttpAuthAvail |
ProxyAuthAvail |
OSErrno |
NumConnects |
SslEngines |
CookieList |
LastSocket |
FtpEntryPath |

Instances

Bounded Info |
Enum Info |
Show Info |

data InfoValue

Constructors

IString String |
ILong Long |
IDouble Double |
IList [String] |

Instances

Show InfoValue |

getInfo :: Curl -> Info -> IO InfoValue