close method

void close()

Releases the underlying HTTP client (only if it was created internally).

Implementation

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