Method: Net::HTTP#read_timeout

Defined in:
lib/net/http.rb

#read_timeoutObject

Number of seconds to wait for one block to be read (via one read(2) call). Any number may be used, including Floats for fractional seconds. If the HTTP object cannot read data in this many seconds, it raises a Net::ReadTimeout exception. The default value is 60 seconds.


712
713
714
# File 'lib/net/http.rb', line 712

def read_timeout
  @read_timeout
end