# File lib/stomp_server/stomp_frame.rb, line 11
  def to_s
    result = @command + "\n"
    @headers['content-length'] = @body.size.to_s if @body.include?(0)
    @headers.each_pair do |key, value|
      result << "#{key}:#{value}\n"
    end
    result << "\n"
    result << @body.to_s
    result << "\000\n"  
  end