HTTP client and server using the Lwt_unix interfaces.
The Request module holds the information about a HTTP request, and
also includes the [root:Cohttp_lwt_unix_io] functions to handle large
message bodies.
The Response module holds the information about a HTTP response, and
also includes the [root:Cohttp_lwt_unix_io] functions to handle large
message bodies.
The Client module type defines the additional UNIX-specific functions
that are exposed in addition to the Cohttp_lwt.Client interface.
custom_ctx ?ctx ?resolver () will return a context that is the
same as the default_ctx, but with either the connection handling
or resolution module overridden with ctx or resolver respectively.
This is useful to supply a Conduit_lwt_unix.ctx with a custom source network interface, or a Resolver_lwt.t with a different name resolution strategy (for instance to override a hostname to point it to a Unix domain socket).
This module type defines the additional UNIX-specific functions that are exposed in addition to the Cohttp_lwt.Server interface. These are primarily filesystem functions, and also [root:create] to actually bind the server to a socket and respond to incoming requests.