http/af-caged exposes a familiar request -> response interface, built as a thin wrapper around http/af.
Install the library and its dependencies via OPAM:
opam install httpaf_cagedIn addition to the server interface, http/af-caged includes parsers for some common request headers. It currently includes parsers for cookie and accept headers.