Class: EventMachine::Protocols::Stomp::Message

Inherits:
Object
  • Object
show all
Defined in:
lib/em/protocols/stomp.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Body of the message



65
66
67
# File 'lib/em/protocols/stomp.rb', line 65

def body
  @body
end

#commandObject

The command associated with the message, usually 'CONNECTED' or 'MESSAGE'



60
61
62
# File 'lib/em/protocols/stomp.rb', line 60

def command
  @command
end

#headerObject Also known as: headers

Hash containing headers such as destination and message-id



62
63
64
# File 'lib/em/protocols/stomp.rb', line 62

def header
  @header
end