pub fn server_url_from_endpoint_url(endpoint_url: &str) -> Result<String, ()>
Expand description

Takes an endpoint url and strips off the path and args to leave just the protocol, host & port.