protected function multi($requests, $options = array()) {
        if ($this->accesstoken) {
            $this->setHeader('Authorization: Bearer '.$this->accesstoken->token);
        }
        return parent::multi($requests, $options);
    }
protected function multi($requests, $options = array()) {
        if ($this->accesstoken) {
            $this->setHeader('Authorization: Bearer '.$this->accesstoken->token);
        }
        return parent::multi($requests, $options);
    }
protected function multi ( $ requests , $ options = array ( ) ) { if ( $ this -> accesstoken ) { $ this -> setHeader ( 'Authorization: Bearer ' . $ this -> accesstoken -> token ) ; } return parent :: multi ( $ requests , $ options ) ; }
Multiple HTTP Requests
This function could run multi-requests in parallel.

@param array $requests An array of files to request
@param array $options An array of options to set
@return array An array of results
Multiple HTTP Requests This function could run multi - requests in parallel .