Module Server.Make_ext

Parameters

module Server : Cohttp_lwt.S.Server
module Config : CONFIG
module Store : Irmin.S
module Types : CUSTOM_TYPES with type key := Store.key and type metadata := Store.metadata and type contents := Store.contents and type hash := Store.hash and type branch := Store.branch

Signature

module IO : Cohttp_lwt.S.IO
type repo = Store.repo
type server = Server.t
type response_action = [
| `Expert of Cohttp.Response.t * (IO.ic -> IO.oc -> unit Lwt.t)
| `Response of Cohttp.Response.t * Cohttp_lwt.Body.t
]
val schema : repo -> unit Schema.schema
val execute_request : unit Schema.schema -> Cohttp_lwt.Request.t -> Cohttp_lwt.Body.t -> response_action Lwt.t
val v : repo -> server