instance method disconnect

Ruby on Rails edge

Since edge

Signature

disconnect(identifiers)

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

Parameters

identifiers req
Source
# File actioncable/lib/action_cable/server/base.rb, line 70
      def disconnect(identifiers)
        remote_connections.where(identifiers).disconnect
      end

Defined in actioncable/lib/action_cable/server/base.rb line 70 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionCable::Server::ThreadedExecutor::Base

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close