package resto-cohttp-client

  1. Overview
  2. Docs

Module Resto_cohttp_client.ClientSource

Client calls to services.

Sourcemodule type CALL = sig ... end

The minimal interface for building a client. Cohttp_lwt.S.Client is an instance of this signature, modulo some additional optional parameters that resto does not use. See OfCohttp below to obtain an exact intance based on Cohttp_lwt.S.Client.

Sourcemodule OfCohttp (Client : Cohttp_lwt.S.Client) : CALL
Sourcemodule Make (Encoding : Resto.ENCODING) (Call : CALL) : sig ... end

Make(Encoding)(Client) is a module that allows you to make calls to various Resto (or EzResto) services.

OCaml

Innovation. Community. Security.