@hackage / http-client-tls

http-client backend using the connection package and tls library

Latest0.4.0

About

Metadata

  • Last updated , by KazuYamamoto
  • License MIT
  • Categories Network Development
  • Maintained by: michael@snoyman.com

  • Lottery factor: 4

Links

Installation

Readme

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