quic_happy (quic v1.6.2)
View SourceSummary
Functions
Establish a client connection. Runs resolution in the caller.
RFC 8305 §4 address ordering: interleave families, IPv6 first.
Classify a host: a (possibly bracketed) IP literal or a name.
Functions
-spec connect(inet:ip_address() | binary() | string(), inet:port_number(), map(), pid(), gen_udp:socket() | undefined) -> {ok, pid()} | {error, term()}.
Establish a client connection. Runs resolution in the caller.
RFC 8305 §4 address ordering: interleave families, IPv6 first.
-spec parse_host(inet:ip_address() | binary() | string()) -> {literal, inet:ip_address()} | {name, string()}.
Classify a host: a (possibly bracketed) IP literal or a name.