package irmin-http

  1. Overview
  2. Docs

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

Parameters

module S : Irmin.S

Signature

type repo = S.Repo.t

The type for Irmin repository.

type t = HTTP.t

The type for HTTP configuration.

val v : ?strict:bool -> repo -> t

v repo returns the configuration for a server serving the contents of repo. If strict is set, incoming connections will fail if they do not have the right X-IrminVersion headers.

OCaml

Innovation. Community. Security.