'close' 事件


服务器关闭时触发。 如果连接存在,则在所有连接结束之前不会触发此事件。

Emitted when the server closes. If connections exist, this event is not emitted until all connections are ended.