close method

void close()

Closes the HTTP client, unless it was passed in.

Implementation

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