Files
Thomas Leonard 1a26de85f9 Split networking out into capnp-rpc-net
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.
2019-10-16 14:37:12 +01:00

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