http-client-tls

http-client backend using the connection package and tls library https://github.com/snoyberg/http-client

Version on this page:0.3.3.1
LTS Haskell 8.5:0.3.4
Stackage Nightly 2017-03-24:0.3.4
Latest on Hackage:0.3.4
MIT licensed by Michael Snoyman
Maintained by michael@snoyman.com

Module documentation for 0.3.3.1

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

Changes

0.3.4

  • Add 'newTlsManager' #263, which adds support for respecting socks5:// and socks5h:// http_proxy and https_proxy environment variables.

0.3.3.2

  • Better handling of internal exceptions

0.3.3.1

  • Better exception safety via bracketOnError

0.3.3

  • Add DigestAuthException and generalize applyDigestAuth
  • Global manager uses a shared TLS context (faster init)

0.3.2

  • Add mkManagerSettingsContext #228

0.3.1.1

  • Minor doc updates

0.3.1

  • Add applyDigestAuth

0.3.0

  • Support http-client 0.5

0.2.4.1

  • Cabal description fix

0.2.4

  • Global manager

0.2.3

  • Exception catching cleanup
Used by 126 packages:
DAV, Redmine, VKHS, api-builder, apiary-authenticate, atlassian-connect-core, aur-api, bitx-bitcoin, cerberus, circlehs, clit, coinbase-exchange, configuration-tools, consul-haskell, cryptsy-api, dhall, discogs-haskell, elm-get, elm-package, fbmessenger-api, feed-collect, flowdock, flowdock-rest, funbot, giphy-api, github, github-release, github-tools, gitit, gli, google-cloud, habit, hackernews, hackmanager, hailgun, haskell-neo4j-client, haxl-facebook, hipbot, hopenpgp-tools, http-conduit, http-dispatch, hup, hurriyet, hzulip, ihaskell, imm, inspector-wrecker, io-streams-http, koofr-client, kraken, libinfluxdb, liblastfm, lightning-haskell, log-elasticsearch, mackerel-client, mailchimp, mailchimp-subscribe, mandrill, marmalade-upload, marvin, mellon-web, monad-http, mondo, monzo, morte, nationstates, netease-fm, network-api-support, octane, oidc-client, opensource, pandoc, pia-forward, pinboard, pipes-http, pipes-s3, pocket, postmark, pushover, quickbooks, quiver-http, ratel, reddit, req, scholdoc, servant-client, servant-haxl-client, servant-pushbullet-client, servant-smsc-ru, slack-notify-haskell, slack-web, soap-tls, solr, stack, stackage-build-plan, stackage-cabal, stackage-curator, stackage-install, stackage-metadata, stackage-setup, stackage-upload, staversion, streaming-utils, strive, syncthing-hs, telegram-bot, textlocal, themoviedb, tpb, tweet-hs, twfy-api-client, twilio, vault-tool, vimeta, wai-middleware-auth, wai-middleware-crowd, web3, webapi, webfinger-client, werewolf-slack, wreq, wreq-sb, yeller, yesod-bin, yesod-platform, zendesk-api
comments powered byDisqus