src/Application/HttpClient/HttpService.php
public function getAsync(
        $uri,
        array $parameters = [],
        array $headers = [],
        string $protocol = '1.1'
    ): Promise {
        $request = $this->createQueryRequest(
            static::METHOD_GET,
            $uri,
            $parameters,
            $headers,
            $protocol
        );

        return $this->sendAsync($request);
    }
public function getAsync(
        $uri,
        array $parameters = [],
        array $headers = [],
        string $protocol = '1.1'
    ): Promise {
        $request = $this->createQueryRequest(
            static::METHOD_GET,
            $uri,
            $parameters,
            $headers,
            $protocol
        );

        return $this->sendAsync($request);
    }
public function getAsync ( $ uri , array $ parameters = [ ] , array $ headers = [ ] , string $ protocol = '1.1' ) : Promise { $ request = $ this -> createQueryRequest ( static :: METHOD_GET , $ uri , $ parameters , $ headers , $ protocol ) ; return $ this -> sendAsync ( $ request ) ; }
Sends a GET request asynchronously

@param string|UriInterface $uri        Request URI
@param array               $parameters Query parameters
@param array               $headers    Request headers
@param string              $protocol   Protocol version

@return Promise
Sends a GET request asynchronously