Library
Module
Module type
Parameter
Class
Class type
HTTP client and server using the Lwt_unix
interfaces.
module Request : Cohttp.S.Request with type t = Cohttp.Request.t
The Request
module holds the information about a HTTP request
module Response : Cohttp.S.Response with type t = Cohttp.Response.t
The Response
module holds the information about a HTTP response.
module Net : module type of struct include Cohttp_lwt_unix_net end
Basic satisfaction of Cohttp_lwt.Net
The Client
module type defines the additional UNIX-specific functions that are exposed in addition to the Cohttp_lwt.Client
interface.
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 create
to actually bind the server to a socket and respond to incoming requests.
module Client : sig ... end
The Client
module implements the full UNIX HTTP client interface, including the UNIX-specific functions defined in C
.
module Server : sig ... end
The Server
module implements the full UNIX HTTP server interface, including the UNIX-specific functions defined in S
.