Class Stomp::Message
In: lib/stomp.rb
Parent: Object
Message Client Connection lib/stomp.rb Stomp dot/m_0_0.png

Container class for frames, misnamed technically

Methods

new   to_s  

Attributes

body  [RW] 
command  [RW] 
headers  [RW] 

Public Class methods

[Source]

     # File lib/stomp.rb, line 251
251:     def initialize
252:       yield(self) if block_given?
253:     end

Public Instance methods

[Source]

     # File lib/stomp.rb, line 255
255:     def to_s
256:       "<Stomp::Message headers=#{headers.inspect} body='#{body}' command='#{command}' >"
257:     end

[Validate]