HTTP client and server using the
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
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.