新增于: v0.3.4
写入所有数据后销毁套接字。如果 'finish' 事件已经触发,则立即销毁套接字。如果套接字仍然可写,它会隐式调用 socket.end()。
¥Destroys the socket after all data is written. If the 'finish' event was
already emitted the socket is destroyed immediately. If the socket is still
writable it implicitly calls socket.end().