# File lib/rack/websocket/handler/base/connection.rb, line 67
          def dispatch(data)
            return false if data.nil?
            debug [:inbound_headers, data]
            @handler = EventMachine::WebSocket::HandlerFactory.build_with_request(self, data, data['Body'], @ssl, @debug)
            unless @handler
              # The whole header has not been received yet.
              return false
            end
            @handler.run
            return true
          end