package capnp-rpc

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include WIRE_PAYLOAD with type t = response msg and type path := Path.t
type t = response msg

A message payload. This is typically a byte array of some kind, plus a way of attaching capabilities.

val pp : t Fmt.t
val cap_index : t -> Path.t -> int option

cap_index msg path is the capability index at path in the message (i.e the index of the capability in the attachments table).

val attachments : t -> attachments
val with_attachments : attachments -> t -> t
val bootstrap : unit -> t

The (empty) content for the reply to the bootstrap message.