method

dispatch_websocket_message

Importance_0
v7.1.3.4 - 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 90
      def dispatch_websocket_message(websocket_message) # :nodoc:
        if websocket.alive?
          handle_channel_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.