Reputation: 85
Does Net::HTTP.get_response
timeout after some number of seconds?
If it does not, is there a way for me to add a timeout?
Upvotes: 4
Views: 2210
Reputation: 11
There doesn't seem to be any method nor attributes for either Net:HTTP.get_response and/or Net:HTTP.get_print as per latest documentation. There is a nice blog post that documents the basics for setting the timeouts though.
Upvotes: 1