lib/faye/websocket/api.rb in faye-websocket-0.9.0 vs lib/faye/websocket/api.rb in faye-websocket-0.9.1

- old
+ new

@@ -17,9 +17,10 @@ attr_reader :url, :ready_state, :buffered_amount def initialize(options = {}) super() + ::WebSocket::Driver.validate_options(options, [:headers, :extensions, :max_length, :ping, :proxy, :tls]) if headers = options[:headers] headers.each { |name, value| @driver.set_header(name, value) } end