stop method

  1. @override
Future<void> stop({
  1. bool force = false,
})
override

Stops the _httpServer

force determines whether to stop the HttpServer immediately even if there are open connections

Implementation

@override
Future<void> stop({bool force = false}) async {
  await _httpServer.close(force: force);
}