Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Resolve URIs to endpoints
Description of a single service. Can be populated from /etc/services
with the exception of the tls
field, which indicates if the connection is intended to be TLS/SSL-encrypted or not (e.g. for https
).
val sexp_of_service : service -> Ppx_sexp_conv_lib.Sexp.t
val service_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> service
module type S = sig ... end
Module type for a resolver that can map URIs to concrete endpoints that stream connections can be established with.
Functor to construct a concrete resolver using a Conduit.IO
implementation, usually via either Lwt or Async