事件:'finish'
🌐 Event: 'finish'
当响应已发送时触发。更具体地说,当响应头和主体的最后一部分已交给 HTTP/2 多路复用以在网络上发送时,将触发此事件。这并不意味着客户端已经接收到任何内容。
🌐 Emitted when the response 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 HTTP/2 multiplexing for transmission over the network. It does not imply that the client has received anything yet.
在此事件之后,响应对象上将不再触发更多事件。
🌐 After this event, no more events will be emitted on the response object.