method

disconnect

rails latest stable - Class: ActionCable::Server::Base
disconnect(identifiers)
public

Disconnect all the connections identified by identifiers on this server or any others via RemoteConnections.