This is a work in progress, we need to find a good interface that abstracts and unify Cohttp and Httpaf libraries. It's split into three subpackages:
mirage-http
: HTTP interfacemirage-http.cohttp
: Cohttp wrappermirage-http.httpaf
: Httpaf wrapperIt doesn't work on upstream httpaf, it needs features that are pending for review:
You can take a look in test/
for a sample of client/server that use the abstraction.