package command_rpc

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Command is used for setting up an RPC server in the child process. By default this will set up an RPC server, but passing the -sexp flag will make it run the implementation on a sexp read from stdin instead. Passing the -menu flag will cause the command to print out a sexp indicating which RPC names and versions are supported.

module Invocation : sig ... end
module type T = sig ... end
module type T_conv = sig ... end
module type T_pipe = sig ... end
type t = [
  1. | `Plain of (module T)
  2. | `Plain_conv of (module T_conv)
  3. | `Pipe of (module T_pipe)
]
val create : ?heartbeat_config:Async.Rpc.Connection.Heartbeat_config.t -> ?log_not_previously_seen_version:(name:string -> int -> unit) -> summary:string -> t list -> Async.Command.t