Sha256: 8258655c8e11db5023be601d1f4f5c570d6cdc67250b727ab9f6c944856b8d5f
Contents?: true
Size: 661 Bytes
Versions: 15
Compression:
Stored size: 661 Bytes
Contents
WebsocketRails::EventMap.describe do # You can use this file to map incoming events to controller actions. # One event can be mapped to any number of controller actions. The # actions will be executed in the order they were subscribed. # # Uncomment and edit the next line to handle the client connected event: # subscribe :client_connected, :to => Controller, :with_method => :method_name # # Here is an example of mapping namespaced events: # namespace :product do # subscribe :new, :to => ProductController, :with_method => :new_product # end # The above will handle an event triggered on the client like `product.new`. end
Version data entries
15 entries across 15 versions & 3 rubygems