http-client-tls

http-client backend using the connection package and tls library

https://github.com/snoyberg/http-client

Version on this page:0.2.4.1@rev:1
LTS Haskell 17.10:0.3.5.3@rev:1
Stackage Nightly 2021-05-05:0.3.5.3@rev:1
Latest on Hackage:0.3.5.3@rev:1

See all snapshots http-client-tls appears in

MIT licensed by Michael Snoyman
Maintained by michael@snoyman.com
This version can be pinned in stack with:http-client-tls-0.2.4.1@sha256:26f1b0cf1b449df4fce7c4531444ff06ccfacae528d20c5470461ecc4058f56c,1440

Module documentation for 0.2.4.1

http-client-tls

Full tutorial docs are available at: https://github.com/commercialhaskell/jump/blob/master/doc/http-client.md

Use the http-client package with the pure-Haskell tls package for secure connections. For the most part, you’ll just want to replace defaultManagerSettings with tlsManagerSettings, e.g.:

import Network.HTTP.Client
import Network.HTTP.Client.TLS

main :: IO ()
main = do
    manager <- newManager tlsManagerSettings
    ...

Changes

0.2.4.1

  • Cabal description fix

0.2.4

  • Global manager

0.2.3

  • Exception catching cleanup