close method

void close()

Closes the underlying HTTP client if this RemoteAction created it.

A caller-provided httpClient is left open; its owner closes it.

Implementation

void close() {
  if (_ownsHttpClient) {
    _httpClient.close();
  }
}