restart method
Restart the server
Implementation
Future<void> restart() async {
final port = this.port;
final host = this.host;
final onReady = _onReady;
await close(force: true);
await listen(port, host, onReady);
}
Restart the server
Future<void> restart() async {
final port = this.port;
final host = this.host;
final onReady = _onReady;
await close(force: true);
await listen(port, host, onReady);
}