package capnp-rpc-unix

  1. Overview
  2. Docs
Cap'n Proto is a capability-based RPC system with bindings for many languages

Install

Dune Dependency

Authors

Maintainers

Sources

capnp-rpc-1.2.3.tbz
sha256=828002d67b9591d1645266c504e3fabc66b750229244a68b0a846c3c93f73715
sha512=c29f13ada74f3f8c80aa591f0fad60801ea72aea6aaa5299b2edee08e080061c5ac054392678ed8910962b1348f1e61790ce30febfc391ddb8c5ac01d56f3160

doc/capnp-rpc-unix/Capnp_rpc_unix/Cap_file/index.html

Module Capnp_rpc_unix.Cap_fileSource

Utilities for capability files.

Sourceval load : Vat.t -> string -> (_ Capnp_rpc_lwt.Sturdy_ref.t, [> `Msg of string ]) result

load vat path loads the contents of path as a capability URI.

Sourceval save_sturdy : Vat.t -> _ Capnp_rpc_lwt.Sturdy_ref.t -> string -> (unit, [> `Msg of string ]) result

save_sturdy vat sr path saves sr to path, with a mode of 0o600.

Sourceval save_service : Vat.t -> Capnp_rpc_net.Restorer.Id.t -> string -> (unit, [> `Msg of string ]) result

save_service vat id path saves vat/id to path, with a mode of 0o600.

Sourceval save_uri : Uri.t -> string -> (unit, [> `Msg of string ]) result

save_url uri path saves uri to path, with a mode of 0o600.

OCaml

Innovation. Community. Security.