Class: Net::BufferedIO
Instance Method Summary collapse
-
#rbuf_fill ⇒ Object
Increase the default read size for streaming from the socket.
Instance Method Details
#rbuf_fill ⇒ Object
Increase the default read size for streaming from the socket
5 6 7 8 9 |
# File 'lib/awsum/net_fix.rb', line 5 def rbuf_fill timeout(@read_timeout) { @rbuf << @io.sysread(1024 * 16) } end |