package irmin-server

  1. Overview
  2. Docs
A high-performance server for Irmin

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.11.0.tbz
sha256=09996fbcc2c43e117a9bd8e9028c635e81cccb264d5e02d425ab8b06bbacdbdb
sha512=0391a6bf7b94a1edd50a3a8df9e58961739fa78d7d689d61f56bc87144483bad2ee539df595c33d9d52c29b3458da5dddf3a73b5eb85e49c4667c26d2cd46be1

doc/irmin-server.unix/Irmin_server_unix/Make/Command/Conn/index.html

Module Command.ConnSource

Sourcemodule IO : sig ... end
Sourcetype t = {
  1. ic : IO.ic;
  2. oc : IO.oc;
  3. buffer : bytes;
}
Sourceval v : ?buffer_size:int -> IO.ic -> IO.oc -> t

Create a new connection using flow, ic and oc

Sourceval is_closed : t -> bool

Check if the underlying channel is closed

Read the next message

Sourceval write : t -> 'a Irmin.Type.t -> 'a -> unit Lwt.t

Write a message

Sourceval ok : t -> unit Lwt.t

Send "OK" message with unit response

Sourceval err : t -> string -> unit Lwt.t

Send error message

Sourcemodule Handshake : sig ... end
Sourcemodule Request : sig ... end
Sourcemodule Response : sig ... end
Sourcemodule Return : sig ... end
OCaml

Innovation. Community. Security.