capnp

OCaml code generation plugin for the Cap'n Proto serialization framework
IN THIS PACKAGE
Module Capnp . RPC . MethodID
type ('interface, 'request, 'response) t

A globally unique method ID, for a method on the interface 'interface, which takes parameters of type 'request and produces results of type 'response.

val v : interface_id:Uint64.t -> method_id:int -> ( 'interface, 'req, 'resp ) t
val interface_id : ( _, _, _ ) t -> Uint64.t
val method_id : ( _, _, _ ) t -> int
val pp : Format.formatter -> ( _, _, _ ) t -> unit