http-client-tls-0.2.4.1: http-client backend using the connection package and tls library

Safe HaskellNone
LanguageHaskell2010

Network.HTTP.Client.TLS

Contents

Description

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

Synopsis

Settings

tlsManagerSettings :: ManagerSettings Source

Default TLS-enabled manager settings

mkManagerSettings :: TLSSettings -> Maybe SockSettings -> ManagerSettings Source

Create a TLS-enabled ManagerSettings with the given TLSSettings and SockSettings

Global manager

getGlobalManager :: IO Manager Source

Get the current global Manager

Since: 0.2.4

setGlobalManager :: Manager -> IO () Source

Set the current global Manager

Since: 0.2.4

Internal

getTlsConnection :: Maybe TLSSettings -> Maybe SockSettings -> IO (Maybe HostAddress -> String -> Int -> IO Connection) Source