code: protected function prepareRequestUrl()
      {
          $protocol = $this->node->useTls() ? 'https' : 'http';
          $this->requestURL = sprintf('%s://%s%s?%s', $protocol, $this->node->getUri(), $this->path, $this->query);
  
          // set the built request URL on the connection
          $this->options[CURLOPT_URL] = $this->requestURL;
  
          return $this;
      }
docs: Prepares the complete request URL
  
  @return $this