# File lib/em-websocket/connection.rb, line 103 def dispatch(data) if data.match(/\A<policy-file-request\s*\/>/) send_flash_cross_domain_file return false else debug [:inbound_headers, data] @data << data @handler = HandlerFactory.build(self, @data, @secure, @debug) unless @handler # The whole header has not been received yet. return false end @data = nil @handler.run return true end end