mirror of
https://github.com/zap-proto/ocaml-rpc.git
synced 2026-10-30 15:04:28 +00:00
This means that libraries that provide or consume capnp-rpc services can just depend on capnp-rpc-lwt, without pulling in a full TLS stack. If an application wants to use Cap'n Proto over a network, it can depend on capnp-rpc-net to do that.
17 lines
317 B
OCaml
17 lines
317 B
OCaml
(** Handling of capnp:// URI format addresses.
|
|
This code is shared between the unix and mirage networks. *)
|
|
|
|
module Location : sig
|
|
type t = [
|
|
| `Unix of string
|
|
| `TCP of string * int
|
|
]
|
|
|
|
val pp : t Fmt.t
|
|
|
|
val equal : t -> t -> bool
|
|
end
|
|
|
|
include S.ADDRESS with
|
|
type t = Location.t * Auth.Digest.t
|