# File lib/stella/client.rb, line 34 def initialize(opts={}) @index = @@client_index += 1 @created = Stella.now @opts = opts @opts[:timeout] ||= 30 @base_uri, @index = opts[:base_uri] || opts['base_uri'], index @proxy = OpenStruct.new @done = false @session = Session.new @base_uri @redirect_count = 0 @clientid = [@session.object_id, created, index, opts].digest end