The http-client-tls package

[Tags: library, mit]

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


[Skip to ReadMe]

Properties

Versions0.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
Change logChangeLog.md
Dependenciesbase (==4.*), bytestring, connection (>=0.2.2), data-default-class, http-client (>=0.3.5), network, tls (>=1.2) [details]
LicenseMIT
AuthorMichael Snoyman
Maintainermichael@snoyman.com
CategoryNetwork
Home pagehttps://github.com/snoyberg/http-client
UploadedFri Apr 15 08:52:55 UTC 2016 by MichaelSnoyman
DistributionsArch:0.2.4, Debian:0.2.2, FreeBSD:0.2.2, LTSHaskell:0.2.4, NixOS:0.2.4, Stackage:0.2.4
Downloads73470 total (33 in last 30 days)
Votes
0 []
StatusDocs pending
Build status unknown [no reports yet]

Modules

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for http-client-tls-0.2.4

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