Module: Net::Config

Defined in:
flow/net/config.rb

Constant Summary

Class Attribute Summary (collapse)

Class Attribute Details

+ (Fixnum) connect_timeout

Time in seconds to wait for a connection to be made. Default is 30 seconds.

Returns:

  • (Fixnum)


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.

Returns:

  • (Fixnum)


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

Returns:

  • (String)


9
10
11
# File 'flow/net/config.rb', line 9

def user_agent
  @user_agent
end