package capnp-rpc-net

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

capnp-rpc-2.1.1.tbz
sha256=6e9675034c8eac5873ed511f9b968db5223278145bb02ac4a970053a53970a48
sha512=2e2eb8389071bdad3ceef1d15200bf28987f13319f754f4d1603828d0d79202b4de90a6eb294f12ee088c7e3b73755286fbe7076b8fd3d0b29644221e0e7e080

doc/src/capnp-rpc-net/two_party_network.ml.html

Source file two_party_network.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
module Types = struct
  type provision_id
  type recipient_id
  type third_party_cap_id = [`Two_party_only]
  type join_key_part
end

module Address = struct
  type t

  let pp f _ = Fmt.string f "<two-party-address>"

  let to_uri _ = assert false
  let parse_uri _ = failwith "Can't use of_uri wih Two_party_network"

  let equal _ _ = assert false

  let digest _ = assert false
end

type t = unit

let parse_third_party_cap_id _ = `Two_party_only

let connect () ~sw:_ ~secret_key:_ _ = assert false