Function validate_url

Source
pub fn validate_url(url: &str) -> Result<()>
Expand description

Validates that a URL is properly formatted

§Arguments

  • url - The URL string to validate

§Returns

Result indicating whether the URL is valid