Sha256: 722a2b286328640733dec2de527b9dd509da3550b3974effe8c232615339150b
Contents?: true
Size: 354 Bytes
Versions: 3
Compression:
Stored size: 354 Bytes
Contents
# frozen_string_literal: true require_relative "base" module Wamp module Manager module Event # Event Message Event class Event < Base def emit_event_name "event_#{subscription_id}" end def emit_event(message) session.emit(emit_event_name, message) 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/event.rb |
xconn-0.1.1 | lib/wamp/manager/event/event.rb |
xconn-0.1.0 | lib/wamp/manager/event/event.rb |