事件:'finish'


【Event: 'finish'

当请求已发送时会触发该事件。更具体地说,当响应头和响应体的最后一段已交给操作系统通过网络传输时,会触发此事件。这并不意味着服务器已经收到任何内容。

【Emitted when the request has been sent. More specifically, this event is emitted when the last segment of the response headers and body have been handed off to the operating system for transmission over the network. It does not imply that the server has received anything yet.】