method

process_internal_message

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: InternalChannel
process_internal_message(message) private

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/internal_channel.rb, line 29
        def process_internal_message(message)
          case message['type']
          when 'disconnect'
            logger.info "Removing connection (#{connection_identifier})"
            websocket.close
          end
        rescue Exception => e
          logger.error "There was an exception - #{e.class}(#{e.message})"
          logger.error e.backtrace.join("\n")

          close
        end
Register or log in to add new notes.