Files
Thomas Leonard 48d675b10e Initial Eio port
This switches capnp-rpc from Lwt to Eio. One particularly nice side
effect of this is that `Service.return_lwt` has gone, as there is no
distinction now between concurrent and non-concurrent service methods.
2024-11-16 12:09:07 +00:00

24 lines
550 B
OCaml

open Capnp_rpc.Std
module S = S
module Endpoint = Endpoint
module Restorer = Restorer
module type VAT_NETWORK = S.VAT_NETWORK with
type 'a capability := 'a Capability.t and
type restorer := Restorer.t and
type service_id := Restorer.Id.t and
type 'a sturdy_ref := 'a Sturdy_ref.t
module Networking (N : S.NETWORK) = struct
module Network = N
module Vat = Vat.Make (N)
module CapTP = Vat.CapTP
end
module Capnp_address = Capnp_address
module Two_party_network = Two_party_network
module Auth = Auth
module Tls_wrapper = Tls_wrapper