Network.HTTP.Client.TLS

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

Safe Haskell | None
Language | Haskell2010

Network.HTTP.Client.TLS

Contents

- Settings
- Global manager

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

- tlsManagerSettings :: ManagerSettings
- mkManagerSettings :: TLSSettings -> Maybe SockSettings -> ManagerSettings
- getGlobalManager :: IO Manager
- setGlobalManager :: Manager -> IO ()

# 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