method

dispatch_websocket_message

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: Base
dispatch_websocket_message(websocket_message) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actioncable/lib/action_cable/connection/base.rb, line 86
      def dispatch_websocket_message(websocket_message) #:nodoc:
        if websocket.alive?
          subscriptions.execute_command decode(websocket_message)
        else
          logger.error "Ignoring message processed after the WebSocket was closed: #{websocket_message.inspect})"
        end
      end
Register or log in to add new notes.