| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
ListT.Libcurl
- data Session a
 - type Error = CURLE
 - runSession :: Session a -> IO (Either Error a)
 - consumeURL :: String -> (ListT IO ByteString -> IO a) -> Session a
 
Documentation
A monad for sequential execution of "libcurl" operations.
To execute multiple requests concurrently you need to run multiple sessions.
consumeURL :: String -> (ListT IO ByteString -> IO a) -> Session a Source #