package cohttp-lwt

  1. Overview
  2. Docs
CoHTTP implementation using the Lwt concurrency library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

cohttp-6.2.1.tbz
sha256=65080247763442d1dc3cd90678b8233b798772f036ac81cd1eaade1f5d66a65f
sha512=35aa6035bc0229e4622fb2846c2e5578d260faa4b95497d294e5f1f9dc90a392323771f4758ed5ee32d93c26b72d2d16eb23a83070b8a26b0e13df2a77501b54

doc/cohttp-lwt/Cohttp_lwt/index.html

Module Cohttp_lwtSource

Sourcemodule type IO = S.IO
Sourcemodule Request = Cohttp.Request
Sourcemodule Response = Cohttp.Response
Sourcemodule Connection : sig ... end
Sourcemodule Connection_cache : sig ... end
Sourcemodule Client : sig ... end

The Make functor glues together a Cohttp.S.IO implementation to send requests down a connection that is established by the Net module. The resulting module satisfies the Client module type.

Sourcemodule Server : sig ... end

The Make functor glues together a Cohttp.S.IO implementation to send requests down a connection that is established by the user. The resulting module satisfies the Server module type.

Sourcemodule Make_client (IO : IO) (Net : S.Net with module IO = IO) : sig ... end
Sourcemodule Make_server = Server.Make
Sourcemodule S : sig ... end

Portable Lwt implementation of HTTP client and server, without depending on a particular I/O implementation. The various Make functors must be instantiated by an implementation that provides a concrete IO monad.

Sourcemodule Body : sig ... end
Sourcemodule Private : sig ... end