Module: Net::Config
- Defined in:
- flow/net/config.rb
Constant Summary
Class Attribute Summary (collapse)
-
+ (Fixnum) connect_timeout
Time in seconds to wait for a connection to be made.
-
+ (Fixnum) read_timeout
Time in seconds to wait for a resource to finnish downloading.
-
+ (String) user_agent
User agent string to be used in all requests.
Class Attribute Details
+ (Fixnum) connect_timeout
Time in seconds to wait for a connection to be made. Default is 30 seconds.
12 13 14 |
# File 'flow/net/config.rb', line 12 def connect_timeout @connect_timeout end |
+ (Fixnum) read_timeout
Time in seconds to wait for a resource to finnish downloading. Default is 7 days.
16 17 18 |
# File 'flow/net/config.rb', line 16 def read_timeout @read_timeout end |
+ (String) user_agent
User agent string to be used in all requests
9 10 11 |
# File 'flow/net/config.rb', line 9 def user_agent @user_agent end |