method

respond_to_invalid_request

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: Base
respond_to_invalid_request() 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/base.rb, line 211
        def respond_to_invalid_request
          close if websocket.alive?

          logger.error invalid_request_message
          logger.info finished_request_message
          [ 404, { 'Content-Type' => 'text/plain' }, [ 'Page not found' ] ]
        end
Register or log in to add new notes.