pub fn api_base_url_for_host(host: &str) -> Result<String>Expand description
Control-plane base URL for a DNS/IP host (optional :port is ignored for API;
API always uses DEFAULT_API_PORT unless the host is already an http(s):// URL).
pub fn api_base_url_for_host(host: &str) -> Result<String>Control-plane base URL for a DNS/IP host (optional :port is ignored for API;
API always uses DEFAULT_API_PORT unless the host is already an http(s):// URL).