Skip to main content

require_https

Function require_https 

Source
pub fn require_https(url: &str) -> Result<(), UpdateKitError>
Expand description

Validates that the given URL uses HTTPS.

Returns InsecureUrl error if the URL does not start with https://.