package irmin-http

  1. Overview
  2. Docs

Module Irmin_httpSource

JSON REST/CRUD interface.

Sourcemodule Conf : sig ... end
Sourcemodule type HTTP_CLIENT = sig ... end
Sourcemodule Client (C : HTTP_CLIENT) (S : Irmin.S) : Irmin.S with type hash = S.hash and module Schema = S.Schema and type Backend.Remote.endpoint = unit

HTTP server

Sourcemodule type SERVER = sig ... end
Sourcemodule Server (HTTP : Cohttp_lwt.S.Server) (S : Irmin.S) : SERVER with type repo = S.Repo.t and type t = HTTP.t

Create an HTTP server, serving the contents of an Irmin database.