package irmin-http

  1. Overview
  2. Docs

JSON REST/CRUD interface.

val config : ?config:Irmin.config -> Uri.t -> Irmin.config
val uri : Uri.t option Irmin.Private.Conf.key
module type HTTP_CLIENT = sig ... end
module Client (C : HTTP_CLIENT) (S : Irmin.S) : Irmin.S with type key = S.key and type contents = S.contents and type branch = S.branch and type hash = S.hash and type step = S.step and type metadata = S.metadata and type Key.step = S.Key.step

HTTP server

module type SERVER = sig ... end
module 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.

OCaml

Innovation. Community. Security.