src/Request.php
public function getScheme()
    {
        if ($this->_schema === null) {
            $this->_schema = $this->isSecureConnection() ? 'https' : 'http';
        }

        return $this->_schema;
    }
public function getScheme()
    {
        if ($this->_schema === null) {
            $this->_schema = $this->isSecureConnection() ? 'https' : 'http';
        }

        return $this->_schema;
    }
public function getScheme ( ) { if ( $ this -> _schema === null ) { $ this -> _schema = $ this -> isSecureConnection ( ) ? 'https' : 'http' ; } return $ this -> _schema ; }
Returns schema.

@return string
Returns schema .