socket.pause()


暂停数据读取。也就是说,不会触发 'data' 事件。有助于限制上传。

¥Pauses the reading of data. That is, 'data' events will not be emitted. Useful to throttle back an upload.