public function requestAsync($method, $uri = '', array $options = []): PromiseInterface
    {
        // Ensure the “X-Request-Id” header gets regenerated for every call.
        $options['headers']['X-Request-Id'] = $this->generateV4GUID();

        return parent::requestAsync($method, $uri, $options);
    }
public function requestAsync($method, $uri = '', array $options = []): PromiseInterface
    {
        // Ensure the “X-Request-Id” header gets regenerated for every call.
        $options['headers']['X-Request-Id'] = $this->generateV4GUID();

        return parent::requestAsync($method, $uri, $options);
    }
public function requestAsync ( $ method , $ uri = '' , array $ options = [ ] ) : PromiseInterface { // Ensure the “X-Request-Id” header gets regenerated for every call. $ options [ 'headers' ] [ 'X-Request-Id' ] = $ this -> generateV4GUID ( ) ; return parent :: requestAsync ( $ method , $ uri , $ options ) ; }
Wrapper on Guzzle's requestAsync method.

@param string $method
@param string $uri
@param array  $options

@return PromiseInterface
Wrapper on Guzzle s requestAsync method .