Function multiaddr2url
Source fn multiaddr2url(m: &Multiaddr) -> Option<Url>
Expand description
"/dns/example.com/tcp/8080/http" -> "http://example.com:8080/"
Returns None on unsupported formats, or if there is a URL parsing error.
Note that Multiaddrs do NOT support a (URL) path, so that must be handled
out-of-band.