Sha256: a9309bb6503532a93f254deb61ec36e0d5caa9e4489ce97513d7f040f0ef61a2

Contents?: true

Size: 292 Bytes

Versions: 3

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true

module Wamp
  module MessageHandler
    # Publish message
    class Publish < Base
      def send_message(&callback)
        store[store_key] = { callback: callback } if message.options[:acknowledge]

        send_serialized message
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
xconn-0.1.2 lib/wamp/message_handler/publish.rb
xconn-0.1.1 lib/wamp/message_handler/publish.rb
xconn-0.1.0 lib/wamp/message_handler/publish.rb