close method

void close()

Closes the HTTP client if this client created it.

Implementation

void close() {
  if (_ownsHttp) _http.close();
}