type endp = [
| `TCP of Ipaddr.t * int | IP address and destination port |
| `Unix_domain_socket of string | Unix domain file path |
| `Vchan_direct of int * string | domain id, port |
| `Vchan_domain_socket of string * string | Vchan Xen domain socket |
| `TLS of string * endp | Wrap in a TLS channel, |
| `Unknown of string | Failed resolution |
]
End points that can potentially be connected to. These are typically returned by a call to a resolver.
val sexp_of_endp : endp -> Ppx_sexp_conv_lib.Sexp.t
val endp_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> endp
val __endp_of_sexp__ : Ppx_sexp_conv_lib.Sexp.t -> endp
module type IO = sig ... end
Module type for cooperative threading that can be satisfied by Lwt or Async