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-v0.0.1.tbz
sha256=9d30b6891028e6a81f0ec946c011ebc4acd17a8feabb419d584e80ef1528b019
sha512=90f7571412cfaa499f7b03c366eeb69e38e765874bc64a8a59fc2fc0e533adfe20707a81d9c77683bbeb675170d3c1b7cf115c47ee0f79366a6cbef57069b65d

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.