capnp

OCaml code generation plugin for the Cap'n Proto serialization framework
IN THIS PACKAGE
Module Capnp . Runtime . BuilderOps . Make . ROM . Untyped
type untyped_struct = [
| `No_RPC_struct
]
type abstract_method_t = [ `No_RPC_payload ] -> untyped_struct
val define_method : interface_id:'a -> method_id:'b -> 'a * 'b
val abstract_method : 'a -> 'a
val struct_field : [< `No_RPC_struct ] -> 'a -> [> `No_RPC_struct ]
val capability_field : [< `No_RPC_struct ] -> 'a -> 'b
val local : 'a -> 'b
val get_cap : 'a -> 'b -> 'b
val add_cap : 'a -> 'b -> 'b
val clear_cap : 'a -> 'b -> unit
val unknown_interface : interface_id:'a -> 'b -> 'c
val unknown_method : interface_id:'a -> method_id:'b -> 'c -> 'd
class type generic_service = object ... end