pub async fn connect_https_pinging(
addr: &str,
ca: Option<&Path>,
identity: Option<(&Path, &Path)>,
every: Option<Duration>,
) -> Result<Channel, Box<dyn Error + Send + Sync>>Expand description
Connects over TLS to https://host:port: the server’s certificate checked against the public
CAs (Mozilla’s, built in) and ca if given, this process’s certificate shown only if given.
For a server that knows its clients by their keys, not by certificates (a relay).