package rpc

  1. Overview
  2. Docs

Parameters

Signature

type implementation = unit
val description : Idl.Interface.description option Pervasives.ref
val implement : Idl.Interface.description -> unit
exception MarshalError of string
type ('a, 'b) comp = ('a, 'b) Result.result M.async
type 'a res = rpcfn -> 'a
type _ fn =
  1. | Function : 'a Idl.Param.t * 'b fn -> ('a -> 'b) fn
  2. | Returning : ('a Idl.Param.t * 'b Idl.Error.t) -> ('a, 'b) M.t fn
val returning : 'a Idl.Param.t -> 'b Idl.Error.t -> ('a, 'b) M.t fn
val (@->) : 'a Idl.Param.t -> 'b fn -> ('a -> 'b) fn
val declare : string -> 'a -> 'b fn -> rpcfn -> 'b
OCaml

Innovation. Community. Security.