@hackage http-client-tls0.3.1
http-client backend using the connection package and tls library
Installation
Dependencies (12)
- base >=4 && <5
- bytestring
- case-insensitive
- connection >=0.2.2
- cryptonite
- data-default-class Show all…
Dependents (409)
@hackage/hopenpgp-tools, @hackage/linkcheck, @hackage/notion-client, @hackage/opentelemetry-lightstep, @hackage/algolia, @hackage/rfc, Show all…
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
...