close method
Closes the client.
This terminates all active requests, which may cause them to throw RequestAbortedException or ClientException.
Implementation
@override
void close() {
for (final abortController in _openRequestAbortControllers) {
abortController.abort();
}
_isClosed = true;
}