start method

  1. @override
Future<List<HttpServer>> start(
  1. Handler handler, {
  2. String? path,
  3. int threads = 1,
})
override

Start the server

Implementation

@override
Future<List<HttpServer>> start(
  Handler handler, {
  String? path,
  int threads = 1,
}) async {
  this.handler = handler;
  this.path = path;
  iso.ReceivePort();
  await _spawnOffIsolates(threads);
  return _servers;
}