socket.pause()
-
返回:<net.Socket> 套接字自身
¥Returns: <net.Socket> The socket itself.
暂停数据读取。也就是说,不会触发 'data'
事件。有助于限制上传。
¥Pauses the reading of data. That is, 'data'
events will not be emitted.
Useful to throttle back an upload.
返回:<net.Socket> 套接字自身
¥Returns: <net.Socket> The socket itself.
暂停数据读取。也就是说,不会触发 'data'
事件。有助于限制上传。
¥Pauses the reading of data. That is, 'data'
events will not be emitted.
Useful to throttle back an upload.