package http-lwt-client

  1. Overview
  2. Docs
A simple HTTP client using http/af, h2, and lwt

Install

Dune Dependency

Authors

Maintainers

Sources

http-lwt-client-0.2.5.tbz
sha256=80c3f567eb20ebbe0f1bad8beacc3cf70d148bbca13f4e0021b6668e021fee5b
sha512=f18e12bcb4a4a99b046525d930b033337c108c29d726d97f69608633c581964c5029469ce8d2e7cf47e94f742f73717237149179506f8984c4ecf0d871cd9b7b

README.md.html

Http-lwt-client -- simple HTTP client using http/af, h2, and lwt

A simple HTTP/1.1 and HTTP/2.0 client supporting HTTP and HTTPS. It follows redirects (up to a given limit). Its dependency cone is small, and does not include any wrappers or frameworks.

Additionally, a sample binary hurl is provided that exposes most of the functionality as a command line program.

Other HTTP clients developed in OCaml include ofetch (minimal OCaml stdlib-only), piaf (HTTP 1 and HTTP 2 support), cohttp (a functorised HTTP client and server library), curly (a wrapper around curl), paf-le-chien (a MirageOS layer for HTTP/AF and H2) - but they didn't fit our needs.

This is distributed under the 3 clause BSD license, some code is inherited from the HTTP/AF project (src/http_lwt_unix.{ml,mli} - as noted in that file).

OCaml

Innovation. Community. Security.