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.0.8.tbz
sha256=25d62c02c567fda43e1fdb526701f9e9cb69aaf1f458afa44e0a1647d77396a2
sha512=af5c30b9af6b2b5ce8c3ac92d917eb5510e45c21e6e512c116b329bcf3236b35c40bc79b2d3d52bc160c9d81fc0e8bbd3fcac92bb33aa13743948b3b578e7afe

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.