end method

  1. @override
void end(
  1. HttpResponse res
)
override

sends res with no Future; another response is closed

Implementation

@override
void end(HttpResponse res) {
  if (res is NativeResponse) {
    res.end();
  } else {
    res.close();
  }
}