package rpc

  1. Overview
  2. Docs

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

Parameters

Signature

type implementation = unit
type rpcfn = Rpc.call -> Rpc.response
type 'a res = rpcfn -> 'a
type ('a, 'b) comp = 'a
type _ fn
val (@->) : 'a Param.t -> 'b fn -> ('a -> 'b) fn
val returning : 'a Param.t -> 'b Error.t -> ('a, 'b) comp fn
val declare : string -> string list -> 'a fn -> rpcfn -> 'a
OCaml

Innovation. Community. Security.