package capnp-rpc-net

  1. Overview
  2. Docs

Module Two_party_network.AddressSource

Sourcetype t

A network address at which a vat can be reached.

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

parse_uri uri extracts from a URI the network address and service ID.

Sourceval to_uri : (t * string) -> Uri.t

to_uri (t, service_id) is a URI that can be parsed back into (t, service_id) by parse_uri.

Sourceval equal : t -> t -> bool
Sourceval digest : t -> Auth.Digest.t

How to verify that the correct address has been reached.

Sourceval pp : t Fmt.t
OCaml

Innovation. Community. Security.