capnp

OCaml code generation plugin for the Cap'n Proto serialization framework
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library capnp
Module Capnp . RPC . Registry
val register : interface_id:Uint64.t -> name:string -> ( int -> string option ) -> unit

Used in the generated code to register the interfaces.

val pp_method : Format.formatter -> (Uint64.t * int) -> unit

pp_method is a formatter for (interface_id, method_id) pairs. It prints out qualified names, suitable for logging (e.g. "Foo.bar")