code: def forward_request(self, method, path=None,
                          json=None, params=None, headers=None):
          
          error_trace = []
          timeout = self.timeout
          backoff_cap = NO_TIMEOUT_BACKOFF_CAP if timeout is None \
              else timeout / 2
          while timeout is None or timeout > 0:
              connection = self.connection_pool.get_connection()
  
              start = time()
              try:
                  response = connection.request(
                      method=method,
                      path=path,
                      params=params,
                      json=json,
                      headers=headers,
                      timeout=timeout,
                      backoff_cap=backoff_cap,
                  )
              except ConnectionError as err:
                  error_trace.append(err)
                  continue
              else:
                  return response.data
              finally:
                  elapsed = time() - start
                  if timeout is not None:
                      timeout -= elapsed
  
          raise TimeoutError(error_trace)
docs: Makes HTTP requests to the configured nodes.
  
             Retries connection errors
             (e.g. DNS failures, refused connection, etc).
             A user may choose to retry other errors
             by catching the corresponding
             exceptions and retrying `forward_request`.
  
             Exponential backoff is implemented individually for each node.
             Backoff delays are expressed as timestamps stored on the object and
             they are not reset in between multiple function calls.
  
             Times out when `self.timeout` is expired, if not `None`.
  
          Args:
              method (str): HTTP method name (e.g.: ``'GET'``).
              path (str): Path to be appended to the base url of a node. E.g.:
                  ``'/transactions'``).
              json (dict): Payload to be sent with the HTTP request.
              params (dict)): Dictionary of URL (query) parameters.
              headers (dict): Optional headers to pass to the request.
  
          Returns:
              dict: Result of :meth:`requests.models.Response.json`