class WebsocketRails::InternalEvents
Public Class Methods
events()
click to toggle source
# File lib/websocket_rails/internal_events.rb, line 3 def self.events Proc.new do namespace :websocket_rails do subscribe :pong, :to => InternalController, :with_method => :do_pong subscribe :subscribe, :to => InternalController, :with_method => :subscribe_to_channel subscribe :unsubscribe, :to => InternalController, :with_method => :unsubscribe_to_channel end end end