Skip to main content

validate_webex_url

Function validate_webex_url 

Source
pub fn validate_webex_url(
    raw_url: &str,
    required_scheme: &str,
) -> Result<(), String>
Expand description

Validates that a URL is HTTPS and belongs to a recognized Webex domain.

§Arguments

  • raw_url - The URL string to validate
  • required_scheme - The required scheme (typically “https” or “wss”)

§Returns

  • Ok(()) if valid
  • Err(String) with validation error message if invalid