protected function init()
    {
        $this->setMethod(static::$_DEFAULT_HTTP_METHOD);
        $this->setHeaders(static::$_DEFAULT_HEADERS);
        $this->setOptions(static::$_DEFAULT_OPTIONS);
        $this->body = NULL;
        $this->error = NULL;
        $this->status = self::STATUS_INIT;
        if (self::$_AUTO_INIT){
            return $this->initCurl();
        }
        return TRUE;
    }
protected function init()
    {
        $this->setMethod(static::$_DEFAULT_HTTP_METHOD);
        $this->setHeaders(static::$_DEFAULT_HEADERS);
        $this->setOptions(static::$_DEFAULT_OPTIONS);
        $this->body = NULL;
        $this->error = NULL;
        $this->status = self::STATUS_INIT;
        if (self::$_AUTO_INIT){
            return $this->initCurl();
        }
        return TRUE;
    }
protected function init ( ) { $ this -> setMethod ( static :: $ _DEFAULT_HTTP_METHOD ) ; $ this -> setHeaders ( static :: $ _DEFAULT_HEADERS ) ; $ this -> setOptions ( static :: $ _DEFAULT_OPTIONS ) ; $ this -> body = NULL ; $ this -> error = NULL ; $ this -> status = self :: STATUS_INIT ; if ( self :: $ _AUTO_INIT ) { return $ this -> initCurl ( ) ; } return TRUE ; }
Initialize the Request Object, setting defaults for certain properties
@return bool
Initialize the Request Object setting defaults for certain properties