Copyright | 2008 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> |
---|---|
License | GPL |
Maintainer | darcs-devel@darcs.net |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- 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 #
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
Eq ConnectionError Source # | |
Defined in Darcs.Util.Download.Request (==) :: ConnectionError -> ConnectionError -> Bool # (/=) :: ConnectionError -> ConnectionError -> Bool # | |
Read ConnectionError Source # | |
Defined in Darcs.Util.Download.Request | |
Show ConnectionError Source # | |
Defined in Darcs.Util.Download.Request showsPrec :: Int -> ConnectionError -> ShowS # show :: ConnectionError -> String # showList :: [ConnectionError] -> ShowS # |