Method: X::Connection#open_timeout

Defined in:
lib/x/connection.rb

#open_timeoutInteger

The timeout for opening connections in seconds

Examples:

Get or set the open timeout

connection.open_timeout = 30

Returns:

  • (Integer)

    the timeout for opening connections in seconds



39
40
41
# File 'lib/x/connection.rb', line 39

def open_timeout
  @open_timeout
end