Safe Haskell | None |
---|
- initCurlWrapper :: IO CurlHandle
- performCurlRequest :: CurlHandle -> URLString -> [CurlOption] -> IO (CurlCode, String)
- data CurlHandle
Documentation
initCurlWrapper :: IO CurlHandleSource
Will start a thread which will execute cURL requests that are passed to it
using performCurlRequest
. Internally only a single cURL handle is opened,
which means that keep-alive connections are automatically reused.
performCurlRequest :: CurlHandle -> URLString -> [CurlOption] -> IO (CurlCode, String)Source
data CurlHandle Source