close method
Closes the client.
This method also terminates all associated active requests.
Implementation
@override
void close() {
if (!_closed) {
_closed = true;
for (final abort in _abortCallbacks.toList())
abort();
}
}
Closes the client.
This method also terminates all associated active requests.
@override
void close() {
if (!_closed) {
_closed = true;
for (final abort in _abortCallbacks.toList())
abort();
}
}