package rpclib

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

Install

Dune Dependency

Authors

Maintainers

Sources

rpclib-9.0.0.tbz
sha256=ce23eb756c028d9374bd19823296bddb7c237d3f055452d30d1cf7d15216e963
sha512=d4dfd7a9ee1b7996c24819ac1895925af0ad732f117c6e06cd28c215b14aa094dbd045e44d7f84c0eeb7ab807ed970d6879c29d07b02377fcb928325124ba7f6

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
OCaml

Innovation. Community. Security.