method
reject_unauthorized_connection
v8.1.1 -
Show latest stable
- Class:
ActionCable::Connection::Authorization
reject_unauthorized_connection()public
Closes the WebSocket connection if it is open and returns an “unauthorized” reason.