close method
Closes every connection and stops the server.
Implementation
Future<void> close() async {
refuseConnections = true;
await dropConnections();
await _received.close();
}
Closes every connection and stops the server.
Future<void> close() async {
refuseConnections = true;
await dropConnections();
await _received.close();
}