startServer method

Future<HttpServer> startServer([
  1. String? address,
  2. int? port
])

开启http server服务 见HttpServer.bind address若为null,则默认是127.0.0.1 port 若为null,则默认是0

Implementation

Future<HttpServer> startServer([String? address, int? port]) =>
    _startServer(address, port);