close method
Terminates all active connections. If a server remains unclosed, the Dart process may not terminate.
Implementation
Future<void> close() async {
for (var socket in _sockets) {
await socket.close();
}
}
Terminates all active connections. If a server remains unclosed, the Dart process may not terminate.
Future<void> close() async {
for (var socket in _sockets) {
await socket.close();
}
}