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 . MessageSig
module Uint32 = Stdint.Uint32
module Uint64 = Stdint.Uint64
type ro
type rw
module type SEGMENT = sig ... end
type attachments = ..

An RPC message can have an array of attached capabilities. To avoid making the message layer depend on the RPC layer, we define this as an open type, so that an RPC system can use whatever system it likes for this.

type attachments +=
| No_attachments

This is the default attachment handler.

module type MESSAGE = sig ... end
module type SLICE = sig ... end
module type S = sig ... end