module type IO = sig ... endThe IO module is specialized for the Lwt monad.
module type Net = sig ... endThe Net module type defines how to connect to a remote node and close the resulting channels to clean up.
module type Client = sig ... endThe Client module implements non-pipelined single HTTP client calls. Each call will open a separate Net connection. For best results, the Body that is returned should be consumed in order to close the file descriptor in a timely fashion. It will still be finalized by a GC hook if it is not used up, but this can take some additional time to happen.
module type Server = sig ... endThe Server module implements a pipelined HTTP/1.1 server.