examples/autobahn_client.rb in faye-websocket-0.9.2 vs examples/autobahn_client.rb in faye-websocket-0.10.0

- old
+ new

@@ -28,10 +28,10 @@ socket.onclose = lambda { |e| EM.stop } next end url = "#{host}/runCase?case=#{n}&agent=#{agent}" - socket = Faye::WebSocket::Client.new(url, nil, options) + socket = Faye::WebSocket::Client.new(url, [], options) socket.onmessage = lambda do |event| socket.send(event.data) end