package rpclib

  1. Overview
  2. Docs
val get_description : string list -> string
val string_of_t : 'a. 'a Rpc.Types.typ -> string list
val definition_of_t : 'a. 'a Rpc.Types.typ -> string list
val ocaml_patt_of_t : 'a. 'a Rpc.Types.typ -> string
val rpc_of : 'a. 'a Rpc.Types.typ -> string -> Rpc.t
val table : string list -> string list list -> string list
val h1 : string -> string list
val h2 : string -> string list
val h3 : string -> string list
val h4 : string -> string list
val h5 : string -> string list
val h6 : string -> string list
val hrule : string list
val of_args : (bool * Idl.Param.boxed) list -> string list
val of_struct_fields : 'a Rpc.Types.boxed_field list -> string list
val of_variant_tags : 'a Rpc.Types.boxed_tag list -> string list
val of_type_decl : 'a -> Rpc.Types.boxed_def -> string list
val json_of_method : string option -> 'a -> 'b -> Codegen.boxed_fn -> string * string
val ocaml_of_method : Codegen.boxed_fn -> string
val tabs_of : string option -> 'a -> Codegen.Interface.t -> Codegen.boxed_fn -> string list
val of_method : string option -> 'a -> Codegen.Interface.t -> Codegen.boxed_fn -> string list
val all_errors : Codegen.Interface.t -> Rpc.Types.boxed_def list
val expand_types : Codegen.Interfaces.t -> Rpc.Types.boxed_def list

We also document the nested types that contain useful documentation

val of_interface : 'a -> Codegen.Interface.t -> string list
val of_interfaces : Codegen.Interfaces.t -> string list
val to_string : Codegen.Interfaces.t -> string