ModuleHTTP-4000.4.1Haskell98
Network.HTTP.Proxy
Handling proxy server settings and their resolution.
- 1 type
- 3 values
- PackageHTTP-4000.4.1
- Exports4
- LanguageHaskell98
- LicenceBSD-3-Clause
- SourceProxy.hs
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.
parseProxy str translates a proxy server string into a Proxy value;
returns Nothing if not well-formed.