static function Protocol()
    {
        $sp = Server::Variable('SERVER_PROTOCOL');
        $protocol = substr($sp, 0, strpos($sp, '/'));
        if (self::IsHttps() && !Str::EndsWith('s', $protocol))
        {
            $protocol .= 's';
        }
        return Str::ToLower($protocol);
    }
static function Protocol()
    {
        $sp = Server::Variable('SERVER_PROTOCOL');
        $protocol = substr($sp, 0, strpos($sp, '/'));
        if (self::IsHttps() && !Str::EndsWith('s', $protocol))
        {
            $protocol .= 's';
        }
        return Str::ToLower($protocol);
    }
static function Protocol ( ) { $ sp = Server :: Variable ( 'SERVER_PROTOCOL' ) ; $ protocol = substr ( $ sp , 0 , strpos ( $ sp , '/' ) ) ; if ( self :: IsHttps ( ) && ! Str :: EndsWith ( 's' , $ protocol ) ) { $ protocol .= 's' ; } return Str :: ToLower ( $ protocol ) ; }
The url protocol string without versioning
@return string returns either http or https
The url protocol string without versioning