package cohttp-lwt-unix

  1. Overview
  2. Docs

HTTP client and server using the Lwt_unix interfaces.

Request and Response modules

The Request module holds the information about a HTTP request

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

Module types for Client and Server

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.

Lwt-Unix Client and Server implementations

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.

OCaml

Innovation. Community. Security.