darcs-2.16.5: a distributed, interactive, smart revision control system

Copyright | 2008 Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
License | GPL
Maintainer | darcs-devel@darcs.net
Stability | experimental
Portability | portable
Safe Haskell | Safe-Inferred
Language | Haskell2010

Darcs.Util.Download

Description

Synopsis

- setDebugHTTP :: IO ()
- disableHTTPPipelining :: IO ()
- maxPipelineLength :: IO Int
- data Cachable
  - = Cachable
  - | Uncachable
  - | MaxAge !CInt
- environmentHelpProxy :: ([String], [String])
- environmentHelpProxyPassword :: ([String], [String])
- data ConnectionError

# Documentation

setDebugHTTP :: IO () #

disableHTTPPipelining :: IO () #

maxPipelineLength :: IO Int #

data Cachable #

Constructors

Cachable |
Uncachable |
MaxAge !CInt |

#### Instances

Instances details

Show Cachable # |
Instance details Defined in Darcs.Util.Download.Request Methods showsPrec :: Int -> Cachable -> ShowS # show :: Cachable -> String # showList :: [Cachable] -> ShowS #
Eq Cachable # |
Instance details Defined in Darcs.Util.Download.Request Methods (==) :: Cachable -> Cachable -> Bool # (/=) :: Cachable -> Cachable -> Bool #

environmentHelpProxy :: ([String], [String]) #

environmentHelpProxyPassword :: ([String], [String]) #

data ConnectionError #

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

Instances details

Read ConnectionError # |
Instance details Defined in Darcs.Util.Download.Request Methods readsPrec :: Int -> ReadS ConnectionError # readList :: ReadS [ConnectionError] # readPrec :: ReadPrec ConnectionError readListPrec :: ReadPrec [ConnectionError]
Show ConnectionError # |
Instance details Defined in Darcs.Util.Download.Request Methods showsPrec :: Int -> ConnectionError -> ShowS # show :: ConnectionError -> String # showList :: [ConnectionError] -> ShowS #
Eq ConnectionError # |
Instance details Defined in Darcs.Util.Download.Request Methods (==) :: ConnectionError -> ConnectionError -> Bool # (/=) :: ConnectionError -> ConnectionError -> Bool #