talira

http-client

HTTP client engine and higher-level HTTP APIs for Haskell

open sourceMIT AND BSD-3-Clausefree

http-client is a family of Haskell packages for making HTTP requests: http-client is the low-level engine without TLS, http-client-tls and http-client-openssl add HTTPS backends, and http-conduit adds a higher-level, streaming API (Network.HTTP.Simple) with JSON and conduit support. Michael Snoyman maintains them in one repository.

Problems it solves

  • make an HTTPS request from a Haskell program
  • fetch a JSON API and decode the response in Haskell
  • stream a large HTTP download in Haskell without holding it in memory

Features

  • low-level HTTP client engine with connection management
  • HTTPS through the tls or OpenSSL backends
  • Network.HTTP.Simple for one-line requests
  • JSON request and response bodies through aeson
  • streaming request and response bodies with conduit

Alternatives

The same job

These do what http-client does.

  1. HTTP (Haskell) Client-side HTTP library for Haskell, written in Haskell on the network package

Compare http-client with the top 3