Sha256: 3fe6fc59a0c7a2d14f6aa2eafd416abb9ca3c0817d0579555c86128d96163587

Contents?: true

Size: 407 Bytes

Versions: 4

Compression:

Stored size: 407 Bytes

Contents

module Stomper
  module Frames
    # Encapsulates a "SEND" frame from the Stomp Protocol.
    #
    # See the {Stomp Protocol Specification}[http://stomp.codehaus.org/Protocol]
    # for more details.
    class Send < Stomper::Frames::ClientFrame
      def initialize(destination, body, headers={})
        super('SEND', headers, body)
        @headers.destination = destination
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stomper-0.4 lib/stomper/frames/send.rb
stomper-0.3.2 lib/stomper/frames/send.rb
stomper-0.3.1 lib/stomper/frames/send.rb
stomper-0.3.0 lib/stomper/frames/send.rb