Skip to main content

api_base_url_for_host

Function api_base_url_for_host 

Source
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).