Sha256: f822f088fec2d08077aba53848f0f47036aa96206af02d593590c380037953e7
Contents?: true
Size: 567 Bytes
Versions: 1
Compression:
Stored size: 567 Bytes
Contents
module Stomper module Frames # Encapsulates a "RECEIPT" server side frame for the Stomp Protocol. class Receipt < Stomper::Frames::ServerFrame # Creates a new Receipt frame with the supplied +headers+ and +body+ def initialize(headers, body) super(headers, body) end # Returns the 'receipt-id' header of the frame, which # will correspond to the 'receipt' header of the message # that caused this receipt to be sent by the stomp broker. def for @headers[:'receipt-id'] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stomper-1.0.0 | lib/stomper/frames/receipt.rb |