A very simple OCaml http toolkit intended to be a very straightforward set of bindings to the underlying httpserver.h C library.
Published: 21 May 2021
Minimal OCaml bindings to the httpserver.h http server toolkit
This library provides a very minimal set of OCaml bindings to the httpserver.h header file. The advantage of this library is the underlying library is non-blocking, compact and reasonaby fast given my testing so far. However, there are no bells and whistles here, just a very simple http toolkit.
This library has no dependencies other than the httpserver.h header file vendored directly in the lib directory. To run the examples you'll need
yojson installed which you can grab in the standard way:
$ opam install yojson
See BENCH.md for a start
This is not production software, more of an experiment really.