close method
void
close()
Implementation
void close() {
_closedByClient = true;
_heartbeatTimer?.cancel();
try {
_requestStream?.cancel();
} catch (_) {}
_httpClient.close();
_onClose();
}
void close() {
_closedByClient = true;
_heartbeatTimer?.cancel();
try {
_requestStream?.cancel();
} catch (_) {}
_httpClient.close();
_onClose();
}