Sha256: 08c4da109d142c038ad3fc3e3e71048f02ffb71ab0714fa1b1142d0b1bc61280
Contents?: true
Size: 432 Bytes
Versions: 3
Compression:
Stored size: 432 Bytes
Contents
# frozen_string_literal: true module Wamp module MessageHandler # Hello class Hello < Base def handle msg, is_welcome = connection.acceptor.receive(connection.serializer.serialize(message)) connection.transmit msg connection.router.attach_client(connection) if is_welcome end def send_message connection.transmit connection.joiner.send_hello end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
xconn-0.1.2 | lib/wamp/message_handler/hello.rb |
xconn-0.1.1 | lib/wamp/message_handler/hello.rb |
xconn-0.1.0 | lib/wamp/message_handler/hello.rb |