validate_public_endpoint

Function validate_public_endpoint 

Source
pub fn validate_public_endpoint(s: &str) -> Result<Endpoint, String>
Expand description

Ensures a valid Public Endpoint, we must special case Public Endpoints because it only supports the ‘http’ and ‘https’ protocol field.