public function requestAsync($method, $uri = null, array $options = [])
    {
        $options = $this->setRequestOptions($options);

        $query = parse_url($uri, PHP_URL_QUERY);
        if (!empty($query)) {
            $uri = substr($uri, 0, (strlen($query)+1) * -1);
            parse_str($query, $options['query']);
        }

        return parent::requestAsync($method, $uri, $options);
    }
public function requestAsync($method, $uri = null, array $options = [])
    {
        $options = $this->setRequestOptions($options);

        $query = parse_url($uri, PHP_URL_QUERY);
        if (!empty($query)) {
            $uri = substr($uri, 0, (strlen($query)+1) * -1);
            parse_str($query, $options['query']);
        }

        return parent::requestAsync($method, $uri, $options);
    }
public function requestAsync ( $ method , $ uri = null , array $ options = [ ] ) { $ options = $ this -> setRequestOptions ( $ options ) ; $ query = parse_url ( $ uri , PHP_URL_QUERY ) ; if ( ! empty ( $ query ) ) { $ uri = substr ( $ uri , 0 , ( strlen ( $ query ) + 1 ) * - 1 ) ; parse_str ( $ query , $ options [ 'query' ] ) ; } return parent :: requestAsync ( $ method , $ uri , $ options ) ; }
Make an Asynchronous request

@param string $method
@param string $uri
@param array $options
@return \GuzzleHttp\Promise\PromiseInterface
@throws \GuzzleHttp\Exception\GuzzleException
Make an Asynchronous request