Class: Wamp::MessageHandler::Subscribe
- Defined in:
- lib/wamp/message_handler/subscribe.rb
Overview
Request subscription
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Wamp::MessageHandler::Base
Instance Method Details
#send_message(handler, &callback) ⇒ Object
7 8 9 10 11 |
# File 'lib/wamp/message_handler/subscribe.rb', line 7 def (handler, &callback) store[store_key] = { handler: handler, callback: callback, topic: .topic } send_serialized end |