lib/faye/websocket/api.rb in faye-websocket-0.7.5 vs lib/faye/websocket/api.rb in faye-websocket-0.8.0
- old
+ new
@@ -73,10 +73,11 @@
event.init_event('close', false, false)
dispatch_event(event)
end
def parse(data)
- @driver.parse(data)
+ worker = @proxy || @driver
+ worker.parse(data)
end
public
def write(data)