DefaultHttpServiceHandler constructor

DefaultHttpServiceHandler({
  1. String? host,
  2. int? port,
})

Implementation

DefaultHttpServiceHandler({String? host, int? port})
    : _address =
          host ?? String.fromEnvironment("HOST", defaultValue: "localhost"),
      port = port ?? int.fromEnvironment("PORT", defaultValue: 80);