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

[ library, mit, network ] [ Propose Tags ] [ Report a vulnerability ]

Hackage documentation generation is not reliable. For up to date documentation, please see: https://www.stackage.org/package/http-client-tls.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.2.0.3, 0.2.1, 0.2.1.1, 0.2.1.2, 0.2.2, 0.2.3, 0.2.4, 0.2.4.1, 0.3.0, 0.3.1, 0.3.1.1, 0.3.2, 0.3.3, 0.3.3.1, 0.3.4, 0.3.4.1, 0.3.4.2, 0.3.5, 0.3.5.1, 0.3.5.2, 0.3.5.3, 0.3.6, 0.3.6.1, 0.3.6.2, 0.3.6.3, 0.3.6.4, 0.4.0
Change log ChangeLog.md
Dependencies base (>=4.10 && <5), base16 (>=1.0), bytestring, case-insensitive, containers, cryptohash-md5, crypton-connection, data-default, exceptions, http-client (>=0.7.11), http-types, network, network-uri, text, tls (>=2.1.2), transformers [details]
License MIT
Author Michael Snoyman
Maintainer michael@snoyman.com
Uploaded by KazuYamamoto at 2026-03-11T03:24:47Z
Category Network
Home page https://github.com/snoyberg/http-client
Distributions Arch:0.3.6.4, Debian:0.3.5.3, Fedora:0.3.6.4, FreeBSD:0.2.2, LTSHaskell:0.3.6.4, NixOS:0.3.6.4, Stackage:0.3.6.4, openSUSE:0.3.6.4
Reverse Dependencies 342 direct, 1455 indirect [details]
Downloads 182321 total (81 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for http-client-tls-0.4.0

[back to package description]

http-client-tls

Full tutorial docs are available at: https://haskell-lang.org/library/http-client

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
    ...