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.core/Pythongen/index.html

Module PythongenSource

Sourcetype t =
  1. | Block of t list
  2. | Line of string
Sourceval inline_defaults : string
Sourceval compat_block : t list
Sourceval reserved_exns : string list
Sourceval lines_of_t : t -> string list
Sourceval string_of_ts : t list -> string
Sourceval output_doc : string list -> t list
Sourceval fresh_id : unit -> string
Sourceval typecheck : 'a. 'a Rpc.Types.typ -> string -> t list

typecheck ty v returns a python fragment which checks v has type ty

Sourceval value_of : 'a. 'a Rpc.Types.typ -> string
Sourceval exn_var : Rpc.Types.boxed_def -> t list
Sourceval skeleton_method : bool -> Codegen.Interface.t -> Codegen.boxed_fn -> t list
Sourceval example_stub_user : Codegen.Interface.t -> Codegen.boxed_fn -> t list
Sourceval example_skeleton_user : Codegen.Interface.t -> Codegen.boxed_fn -> t list
Sourceval test_impl_of_interface : Codegen.Interface.t -> t list
Sourceval skeleton_of_interface : Codegen.Interface.t -> t list
Sourceval server_of_interface : Codegen.Interface.t -> t list
Sourceval test_impl_of_interfaces : Codegen.Interfaces.t -> t list
Sourceval commandline_parse : 'a -> Codegen.boxed_fn -> t list
Sourceval commandline_run : 'a -> Codegen.boxed_fn -> t list
Sourceval commandline_of_interface : Codegen.Interface.t -> t list
Sourceval of_interfaces : ?helpers:string -> Codegen.Interfaces.t -> t list
OCaml

Innovation. Community. Security.