Sha256: e04ffcd8022fad335819de54f5d9f72e506d8a1d993b2fe337c0b718f57ecabd
Contents?: true
Size: 387 Bytes
Versions: 3
Compression:
Stored size: 387 Bytes
Contents
# frozen_string_literal: true require_relative "base" module Wamp module Manager module Event # Welcome Message Event class Welcome < Base def emit_event_name :join end def emit_event(welcome) session.session_id = welcome.session_id session.emit(emit_event_name, session) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
xconn-0.1.2 | lib/wamp/manager/event/welcome.rb |
xconn-0.1.1 | lib/wamp/manager/event/welcome.rb |
xconn-0.1.0 | lib/wamp/manager/event/welcome.rb |