Method: Net::HTTP#read_timeout
- Defined in:
- lib/extensions/net-http/net/http.rb
#read_timeout ⇒ Object
Seconds to wait until reading one block (by one read(2) call). If the HTTP object cannot open a connection in this many seconds, it raises a TimeoutError exception.
577 578 579 |
# File 'lib/extensions/net-http/net/http.rb', line 577 def read_timeout @read_timeout end |