AngelHttp.custom constructor

AngelHttp.custom(
  1. Angel app,
  2. ServerGeneratorType serverGenerator, {
  3. bool useZone = true,
  4. Map<String, String> headers = const {},
})

An instance mounted on a server started by the serverGenerator.

Implementation

factory AngelHttp.custom(Angel app, ServerGeneratorType serverGenerator,
    {bool useZone = true, Map<String, String> headers = const {}}) {
  return AngelHttp._(app, serverGenerator, useZone);
}