Sha256: aadef909e74aea624e5c230e600d2657331f011b1ce13a85e7808f6049025eae
Contents?: true
Size: 315 Bytes
Versions: 3
Compression:
Stored size: 315 Bytes
Contents
# frozen_string_literal: true module Wamp module MessageHandler # Request subscription class Subscribe < Base def send_message(handler, &callback) store[store_key] = { handler: handler, callback: callback, topic: message.topic } 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/subscribe.rb |
xconn-0.1.1 | lib/wamp/message_handler/subscribe.rb |
xconn-0.1.0 | lib/wamp/message_handler/subscribe.rb |