Network.Curl.Easy

curl-1.3.8: Haskell binding to libcurl

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

Network.Curl.Easy

Description

Haskell binding to the libcurl http://curl.haxx.se/ "easy" API. The "easy" API provides a higher-level, easy-to-get-started calling interface to the library's wide range of features for interacting with HTTP/FTP/etc servers.

Synopsis

- initialize :: IO Curl
- perform :: Curl -> IO CurlCode
- setopt :: Curl -> CurlOption -> IO CurlCode
- duphandle :: Curl -> IO Curl
- reset :: Curl -> IO ()
- curl_global_init :: CInt -> IO CurlCode
- curl_global_cleanup :: IO ()
- curl_version_number :: IO Int
- curl_version_string :: IO String

# Documentation

initialize :: IO Curl

Initialise a curl instance

perform :: Curl -> IO CurlCode

setopt :: Curl -> CurlOption -> IO CurlCode

duphandle :: Curl -> IO Curl

reset :: Curl -> IO ()

curl_global_init :: CInt -> IO CurlCode

curl_global_cleanup :: IO ()

curl_version_number :: IO Int

curl_version_string :: IO String