package capnp-rpc-lwt

  1. Overview
  2. Docs

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

Parameters

module N : S.NETWORK

Signature

type 'a capability = 'a Capability.t

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

type flow = Flow.flow

A bi-directional byte-stream.

type restorer = Restorer.t

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

type 'a sturdy_ref = 'a Sturdy_ref.t

An off-line (persistent) capability.

type service_id = Restorer.Id.t

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

module Network = N
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.