socket.end([data[, encoding]][, callback])


半关闭套接字。也就是说,它发送一个 FIN 包。服务器仍可能发送一些数据。

【Half-closes the socket. i.e., it sends a FIN packet. It is possible the server will still send some data.】

有关详细信息,请参见writable.end()

【See writable.end() for further details.】