package capnp-rpc-net

  1. Overview
  2. Docs

Stretching capability references across a network link. Note: see Capnp_rpc_unix for a higher-level wrapper for this API.

type +'a capability

An 'a capability is a capability reference to a service of type 'a.

type flow

A bi-directional byte-stream.

type restorer

A function for restoring persistent capabilities from sturdy ref service IDs.

type +'a sturdy_ref

An off-line (persistent) capability.

type service_id

A (secret) token that identifies a persistent service within a vat and grants access to it.

module Network : NETWORK
module CapTP : sig ... end

Sharing capabilities over a network link.

module Vat : sig ... end

An actor in the CapTP network. A vat is a collection of objects that can call each other directly. A vat may be connected to other vats over CapTP network connections. Typically an application will create only a single vat. See the Capnp_rpc_unix module for a higher-level API.

OCaml

Innovation. Community. Security.