createManager static method

Future<Polo> createManager({
  1. String address = "127.0.0.1",
  2. int port = 3000,
})

Creates a Polo Manager to handle multiple PoloServer's

Implementation

static Future<Polo> createManager(
    {String address = "127.0.0.1", int port = 3000}) async {
  final httpServer = (await HttpServer.bind(address, port));
  return Polo._(httpServer);
}