The http-client-tls package

[Tags:library, mit]

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


[Skip to Readme]

Properties

Versions 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
Change log ChangeLog.md
Dependencies base (==4.*), bytestring, connection (>=0.2.2), data-default-class, http-client (>=0.3.5), network, tls (>=1.2) [details]
License MIT
Author Michael Snoyman
Maintainer michael@snoyman.com
Stability Unknown
Category Network
Home page https://github.com/snoyberg/http-client
Uploaded Thu Jun 16 12:07:27 UTC 2016 by MichaelSnoyman
Distributions Arch:0.2.4.1, Debian:0.2.2, FreeBSD:0.2.2, LTSHaskell:0.2.4.1, NixOS:0.2.4.1, Stackage:0.2.4.1
Downloads 73515 total (26 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2016-06-16 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for http-client-tls

Readme for http-client-tls-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
    ...