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

[ library, mit, network ] [ Propose Tags ]

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


[Skip to Readme]
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, 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
Change log ChangeLog.md
Dependencies base (==4.*), bytestring, connection (>=0.2.2), data-default-class, http-client (>=0.3.5 && <0.5), network, tls (>=1.2) [details]
License MIT
Author Michael Snoyman
Maintainer michael@snoyman.com
Revised Revision 1 made by phadej at Mon Sep 19 10:48:30 UTC 2016
Category Network
Home page https://github.com/snoyberg/http-client
Uploaded by MichaelSnoyman at Fri Apr 15 08:52:55 UTC 2016
Distributions Arch:0.3.5.3, Debian:0.2.2, Fedora:0.3.5.1, FreeBSD:0.2.2, LTSHaskell:0.3.5.3, NixOS:0.3.5.3, Stackage:0.3.5.3, openSUSE:0.3.5.3
Downloads 131150 total (511 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-11-19 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for http-client-tls-0.2.4

[back to package description]

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