original_string: public function request($url, array $params = [])
      {
          $curl = new Curl();
          $query = $this->buildQuery($params);
          $curl->setOptions($this->url . $url, $query, $this->port);
          $response = $curl->exec();
          $this->setResponse($response);
          $this->setErrors($response);
          return $this;
      }
code: public function request($url, array $params = [])
      {
          $curl = new Curl();
          $query = $this->buildQuery($params);
          $curl->setOptions($this->url . $url, $query, $this->port);
          $response = $curl->exec();
          $this->setResponse($response);
          $this->setErrors($response);
          return $this;
      }
code_tokens: public function request ( $ url , array $ params = [ ] ) { $ curl = new Curl ( ) ; $ query = $ this -> buildQuery ( $ params ) ; $ curl -> setOptions ( $ this -> url . $ url , $ query , $ this -> port ) ; $ response = $ curl -> exec ( ) ; $ this -> setResponse ( $ response ) ; $ this -> setErrors ( $ response ) ; return $ this ; }
docstring: Send a curl request
  
  @param  string $url   The url API
  @param  array $params The query params
  @return \Octopush\Client
docstring_tokens: Send a curl request