# File lib/em-websocket/close03.rb, line 4
      def close_websocket(code, body)
        # TODO: Ideally send body data and check that it matches in ack
        send_frame(:close, '')
        @state = :closing
      end