package rpc

  1. Overview
  2. Docs

The Idl module is for declaring the types and documentation for RPC calls

module Param : sig ... end

The Param module is associated with parameters to RPCs. RPCs are defined in terms of 'a Param.t values.

module Error : sig ... end
module Interface : sig ... end

An interface is a collection of RPC declarations.

val get_wire_name : Interface.description option -> string -> string
module type RPC = sig ... end

The RPC module type is the standard module signature that the various specialization modules must conform to.

module GenClient () : sig ... end

This module generates Client modules from RPC declarations

module GenClientExn () : sig ... end

This module generates exception-raising Client modules from RPC declarations. See the Client module above for a description of the common entries.

type rpcfn = Rpc.call -> Rpc.response
type server_implementation = (string, rpcfn) Hashtbl.t
module GenServer () : sig ... end
module GenServerExn () : sig ... end
module DefaultError : sig ... end
OCaml

Innovation. Community. Security.