2014-08-30 63 views

回答

1

res.end(data)ultimately calls res.write(data)。與服務器噪聲相比,速度差異將會很小,所以我會選擇語義上對您的應用程序更有意義的。

documentation confirms this

如果指定數據時,它是等效於調用隨後到Response.End回覆於(數據,編碼)()。

相關問題