http-lwt-client
A simple HTTP client using http/af, h2, and lwt
README
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 aroundcurl
), 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).
Install
- Published
-
16 Mar 2022
- Authors
-
- Maintainers
-
Sources
http-lwt-client-0.0.6.tbz
sha256=b4b14aa5ead3d6d27827b90c4827268169c176b5c52ba3e08c0f1e519599fb49
sha512=a1093a5d24b10ce89cb1062d43964e2611e118f00e918cea927ab0ad2cf5beccb8f6269849c90f8e1a1dd495032becd185466e10bcb97bb7984b8edc27765c40
Dependencies
h2
>= "0.8.0"
tls
>= "0.14.0"
httpaf
>= "0.7.0"
base64
>= "3.1.0"
cmdliner
>= "1.1.0"
dune
>= "2.0.0"
ocaml
>= "4.08.0"
Reverse Dependencies