# File lib/faye/adapters/rainbows_client.rb, line 47
      def on_read(data)
        if @state == :body and websocket? and @hp.body_eof?
          @state = :websocket
          @input.rewind
          app_call StringIO.new(@buf)
        else
          super
        end
      end