close method

void close()

Closes the underlying http.Client when this instance created it.

Implementation

void close() {
  if (_ownsClient) {
    _client.close();
  }
}