package http-lwt-client
A simple HTTP client using http/af, h2, and lwt
Install
Dune Dependency
Authors
Maintainers
Sources
http-lwt-client-0.2.6.tbz
sha256=ea07cb15e0e8720906edf4477a6d6221faa437a9cffe7a9400d76bb9041a9459
sha512=b98ca0ee6af3e2f25bbb1e12473f0351a0c7e307c8ff1c3c02060a33fd8eb357231c6150e3e7c2e92d8e8df3f22c6c23c532d456759eda96ce7b0d7928a46422
Description
Published: 06 Jan 2024
README
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).
Dependencies (15)
Dev Dependencies
None
Used by (3)
-
albatross
>= "1.5.3" & < "2.2.0"
-
builder
= "0.3.2"
-
docker_hub
>= "0.1.1"
Conflicts (1)
-
result
< "1.5"
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page