Sha256: ec27200a0dfc2cd3591134c13a31d6df01039f7a0e112ed20fd73589ea0af050
Contents?: true
Size: 411 Bytes
Versions: 3
Compression:
Stored size: 411 Bytes
Contents
# frozen_string_literal: true module Wamp module MessageHandler # send unregister message class Goodbye < Base def send_message(&callback) store[store_key] = { callback: callback } send_serialized message end def handle goodbye = Wampproto::Message::Goodbye.new({}, "wamp.close.goodbye_and_out") send_serialized goodbye end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
xconn-0.1.2 | lib/wamp/message_handler/goodbye.rb |
xconn-0.1.1 | lib/wamp/message_handler/goodbye.rb |
xconn-0.1.0 | lib/wamp/message_handler/goodbye.rb |