Example #1
0
 /**
  * Perform a GET request, asynchronously
  *
  * @param string $url
  * @param array $params
  * @return ResponseInterface
  */
 public function getAsync(string $url, array $params = []) : ResponseInterface
 {
     /** @noinspection PhpIncompatibleReturnTypeInspection */
     return $this->client->getAsync($url, $this->params($params, $url));
 }