Invisnik\LaravelSteamAuth\SteamAuth::validateUrl PHP Method

validateUrl() private method

Validates a given URL, ensuring it contains the http or https URI Scheme
private validateUrl ( string $url ) : boolean
$url string
return boolean
    private function validateUrl($url)
    {
        if (!filter_var($url, FILTER_VALIDATE_URL)) {
            return false;
        }
        return true;
    }