File: README.md

package info (click to toggle)
haskell-http-client-tls 0.3.5.3-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 96 kB
  • sloc: haskell: 391; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
## 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.:

```haskell
import Network.HTTP.Client
import Network.HTTP.Client.TLS

main :: IO ()
main = do
    manager <- newManager tlsManagerSettings
    ...
```