package rpclib

  1. Overview
  2. Docs
A library to deal with RPCs in OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rpclib-10.2.0.tbz
sha256=37ec4a4dd53fcb2d38d846415d3a45976d5a78c1531e6d876db2436e947172f3
sha512=4757df16d7cf2220787e2a6532e47130049894741ae1635e017cd583f28c5e55c016768d992c6739da70b29283141070f974f246b1ef467e64b034c5c231b00a

doc/rpclib.cmdliner/Cmdlinergen/Gen/index.html

Module Cmdlinergen.GenSource

Parameters

Signature

Sourcetype implementation = unit -> ((Rpc.call -> Rpc.response) -> (unit -> unit) Cmdliner.Term.t * Cmdliner.Cmd.info) list
Sourcetype ('a, 'b) comp = ('a, 'b) Result.t
Sourcetype 'a rpcfn = Rpc.call -> Rpc.response
Sourcetype 'a res = unit
Sourceval description : Idl.Interface.description option ref
Sourceval terms : ((Rpc.call -> Rpc.response) -> (unit -> unit) Cmdliner.Term.t * Cmdliner.Cmd.info) list ref
Sourcetype _ fn =
  1. | Function : 'a Idl.Param.t * 'b fn -> ('a -> 'b) fn
  2. | NoArgsFunction : 'b fn -> (unit -> 'b) fn
  3. | Returning : ('a Idl.Param.t * 'b Idl.Error.t) -> ('a, 'b) comp fn
Sourceval returning : 'a Idl.Param.t -> 'b Idl.Error.t -> ('a, 'b) comp fn
Sourceval (@->) : 'a Idl.Param.t -> 'b fn -> ('a -> 'b) fn
Sourceval noargs : 'a fn -> (unit -> 'a) fn
Sourceval pos : int ref
Sourceval term_of_param : 'a. 'a Idl.Param.t -> Rpc.t Cmdliner.Term.t
Sourceval declare_ : bool -> string -> string list -> 'a fn -> unit
Sourceval declare : string -> string list -> 'a fn -> unit
Sourceval declare_notification : string -> string list -> 'a fn -> unit