pub fn build_server_url(
listener_addr: SocketAddr,
maybe_dns: Option<&str>,
) -> StringExpand description
Construct a server URL given the TcpListener::local_addr from by a
server’s TcpListener, and its DNS name.
ex: https://lexe.app (port=443)
ex: https://relay.lexe.app:4396
ex: http://[::1]:8080