pub fn resolve_target(name: &str, well_known: Option<&str>) -> Option<Target>Expand description
Resolve a server name to a connection target. well_known is the
delegated m.server value, when the name served one. SRV records are not
consulted (F0); a name that needs SRV must publish .well-known.