package capnp-rpc

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

This module defines the information in the messages that goes over the wire. These messages are turned into actual byte streams elsewhere.

module EmbargoId : sig ... end
module type TABLE_TYPES = sig ... end

For the unit tests it is convenient to pass in the types of table indexes. This allows the tests to make both ends of a connection, with the types matched up.

module Flip (T : TABLE_TYPES) : sig ... end

Flip T is the types for the other end of T's connection.

This module defines the information in the messages that goes over the wire in one direction. The types are from the point of view of the sender, as in the Cap'n Proto RPC specification.

module type ENDPOINT = sig ... end
module Table_types () : sig ... end