answerStarted method

  1. @override
bool answerStarted(
  1. HttpResponse res
)
override

true when the head of res is sent or res is closed

Implementation

@override
bool answerStarted(HttpResponse res) =>
    res is! NativeResponse || res.headSent || res.isClosed;