| Copyright | 2008 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> |
|---|---|
| License | GPL |
| Maintainer | darcs-devel@darcs.net |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Darcs.Util.Download
Description
- copyUrl :: String -> FilePath -> Cachable -> IO ()
- copyUrlFirst :: String -> FilePath -> Cachable -> IO ()
- setDebugHTTP :: IO ()
- disableHTTPPipelining :: IO ()
- maxPipelineLength :: IO Int
- waitUrl :: String -> IO ()
- data Cachable
- = Cachable
- | Uncachable
- | MaxAge !CInt
- environmentHelpProxy :: ([String], [String])
- environmentHelpProxyPassword :: ([String], [String])
- data ConnectionError
Documentation
setDebugHTTP :: IO () Source #
disableHTTPPipelining :: IO () Source #
Constructors
| Cachable | |
| Uncachable | |
| MaxAge !CInt |
environmentHelpProxy :: ([String], [String]) Source #
environmentHelpProxyPassword :: ([String], [String]) Source #
data ConnectionError Source #
Data type to represent a connection error. The following are the codes from libcurl which map to each of the constructors: * 6 -> CouldNotResolveHost : The remote host was not resolved. * 7 -> CouldNotConnectToServer : Failed to connect() to host or proxy. * 28 -> OperationTimeout: the specified time-out period was reached.
Instances