close method

void close()

Releases the HTTP client. A session that is not closed keeps a connection pool alive, which is what stops a long-running process from exiting.

Implementation

void close() => _client.close();