close method

void close()

Closes the underlying HTTP client and releases active socket connections.

After calling close, no further HTTP requests may be sent with this instance.

client.close();

Implementation

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