pub fn parse_admin_url(url: &str) -> Result<AdminEndpoint, String>Expand description
Parse an --admin URL into dial parts.
Accepts http://host[:port][/path] and bare host[:port][/path].
TLS admin URLs are rejected: the local admin contract is HTTP/1.1-only.