Safe Haskell | None |
---|---|
Language | Haskell2010 |
Support for making connections via the connection package and, in turn, the tls package suite.
Recommended reading: https://github.com/commercialhaskell/jump/blob/master/doc/http-client.md
- tlsManagerSettings :: ManagerSettings
- mkManagerSettings :: TLSSettings -> Maybe SockSettings -> ManagerSettings
- getGlobalManager :: IO Manager
- setGlobalManager :: Manager -> IO ()
- getTlsConnection :: Maybe TLSSettings -> Maybe SockSettings -> IO (Maybe HostAddress -> String -> Int -> IO Connection)
Settings
tlsManagerSettings :: ManagerSettings
Default TLS-enabled manager settings
mkManagerSettings :: TLSSettings -> Maybe SockSettings -> ManagerSettings
Create a TLS-enabled ManagerSettings
with the given TLSSettings
and
SockSettings
Global manager
getGlobalManager :: IO Manager
Get the current global Manager
Since: 0.2.4
setGlobalManager :: Manager -> IO ()
Set the current global Manager
Since: 0.2.4
Internal
getTlsConnection :: Maybe TLSSettings -> Maybe SockSettings -> IO (Maybe HostAddress -> String -> Int -> IO Connection)