package irmin-http

  1. Overview
  2. Docs
HTTP client and server for Irmin

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-2.10.2.tbz
sha256=088741b619471c8198e74aaf9f4aeb4a9997abec8b9abcbfb3443fd27bfb433f
sha512=bbc03417d6eb87d99bee391c489d23a586b0a260e4c797f5e2465c3ab67cb627a9efa526097c1b89dd3339eafb8bad738c1cf0502e5c70355871ff7dbba324b9

doc/irmin-http/Irmin_http/index.html

Module Irmin_httpSource

JSON REST/CRUD interface.

Sourceval config : ?config:Irmin.config -> Uri.t -> Irmin.config
Sourcemodule type HTTP_CLIENT = sig ... end
Sourcemodule 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 and type Private.Sync.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.

OCaml

Innovation. Community. Security.