Ruby on Rails
Tuesday, December 6, 2011
Custom timeout for Net::HTTP Requests in Ruby
http = Net::HTTP.new(host, port)
http.read_timeout = "timeout in milliseconds"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment