socket.pause()


暂停读写数据。也就是说,'data' 将不会再被触发。可以用于上传节流。

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