attach static method

Engine attach(
  1. dynamic server, [
  2. Map? options
])

Implementation

static Engine attach(server, [Map? options]) {
  var engine = Server(options);
  engine.attachTo(server, options);
  return engine;
}