kernel/private/rest/classes/request/rest_request.php
public function getHostURI()
    {
        $protIndex = strpos( $this->protocol, '-' );
        $protocol = substr( $this->protocol, 0, $protIndex );
        $hostUri = $protocol.'://'.$this->host;

        return $hostUri;
    }
public function getHostURI()
    {
        $protIndex = strpos( $this->protocol, '-' );
        $protocol = substr( $this->protocol, 0, $protIndex );
        $hostUri = $protocol.'://'.$this->host;

        return $hostUri;
    }
public function getHostURI ( ) { $ protIndex = strpos ( $ this -> protocol , '-' ) ; $ protocol = substr ( $ this -> protocol , 0 , $ protIndex ) ; $ hostUri = $ protocol . '://' . $ this -> host ; return $ hostUri ; }
Returns the host with the protocol

@return string
Returns the host with the protocol