package cohttp-lwt

  1. Overview
  2. Docs

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
OCaml

Innovation. Community. Security.