package irmin-server

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.10.0.tbz
sha256=92a9de7a0a2a35c2feba0c35a806b1f0df24c1c0d15164eebf3f919296d26715
sha512=0203ec5117a851ad5afeb2f9091659b4e142e231b6b945caab93f4d7beb23397c8ac43f7056e91d18f4bff0be1062f6ae966d221f877c229328c0cbbf29fd9f0

doc/irmin-server.unix/Irmin_server_unix/Make_ext/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.