| Copyright | See LICENSE file |
|---|---|
| License | BSD |
| Maintainer | Ganesh Sittampalam <ganesh@earth.li> |
| Stability | experimental |
| Portability | non-portable (not tested) |
| Safe Haskell | Safe |
| Language | Haskell98 |
Network.HTTP.Proxy
Description
Handling proxy server settings and their resolution.
Documentation
fetchProxy :: Bool -> IO Proxy Source #
fetchProxy flg gets the local proxy settings and parse the string
into a Proxy value. If you want to be informed of ill-formed proxy
configuration strings, supply True for flg.
Proxy settings are sourced from the HTTP_PROXY environment variable,
and in the case of Windows platforms, by consulting IE/WinInet's proxy
setting in the Registry.