module ActionCable::Connection::Authorization
Public Instance Methods
# File actioncable/lib/action_cable/connection/authorization.rb, line 9 def reject_unauthorized_connection logger.error "An unauthorized connection attempt was rejected" raise UnauthorizedError end
Closes the WebSocket connection if it is open and returns a 404 “File not Found” response.
© 2004–2019 David Heinemeier Hansson
Licensed under the MIT License.