capnp-rpc-unix
Cap'n Proto is a capability-based RPC system with bindings for many languages
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library capnp-rpc-unix
val 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.
val 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
.
val save_service :
Vat.t ->
Capnp_rpc_lwt.Restorer.Id.t ->
string ->
( unit, [> `Msg of string ] ) result
save_service vat id path
saves vat/id
to path
, with a mode of 0o600
.