Module Jenga_lib.Jenga_client

This module is the normal way to write ocaml code that talks to the jenga server. See rpc_intf.ml for what kind of information can be exchanged between client and server.

The server is not specified with a host and port, but with a filesystem path to the root directory of the server (usually where the .hg/.git directory is). This implies one can only connect to jenga servers on the local machine.

module Connection_error : sig ... end
val with_menu_connection_with_detailed_error : root_dir:Path.Abs.t ‑> f:(Async.Versioned_rpc.Connection_with_menu.t ‑> 'a Async.Deferred.t) ‑> ('aConnection_error.tCore.Result.t Async.Deferred.t
val with_menu_connection : root_dir:Path.Abs.t ‑> f:(Async.Versioned_rpc.Connection_with_menu.t ‑> 'a Async.Deferred.t) ‑> 'a Core.Or_error.t Async.Deferred.t