Sha256: a1b12f3181f7dccb92e823a96e1776f1024c0894f1b8c1c6b377ddb6f49956c0

Contents?: true

Size: 418 Bytes

Versions: 22

Compression:

Stored size: 418 Bytes

Contents

# frozen_string_literal: true

require "action_cable/remote_connections"

ActionCable::RemoteConnections::RemoteConnection.include(ActionCable::Connection::SerializableIdentification)

ActionCable::RemoteConnections::RemoteConnection.prepend(Module.new do
  def disconnect(reconnect: true)
    ::AnyCable.broadcast_adapter.broadcast_command("disconnect", identifier: identifiers_json, reconnect: reconnect)
  end
end)

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
anycable-rails-1.2.1 lib/anycable/rails/actioncable/remote_connections.rb
anycable-rails-1.2.0 lib/anycable/rails/actioncable/remote_connections.rb
anycable-rails-1.1.4 lib/anycable/rails/actioncable/remote_connections.rb
anycable-rails-1.1.3 lib/anycable/rails/actioncable/remote_connections.rb
anycable-rails-1.0.8 lib/anycable/rails/actioncable/remote_connections.rb
anycable-rails-1.1.2 lib/anycable/rails/actioncable/remote_connections.rb
anycable-rails-1.1.1 lib/anycable/rails/actioncable/remote_connections.rb
anycable-rails-1.1.0 lib/anycable/rails/actioncable/remote_connections.rb
anycable-rails-1.1.0.rc1.1 lib/anycable/rails/actioncable/remote_connections.rb
anycable-rails-1.1.0.rc1 lib/anycable/rails/actioncable/remote_connections.rb
anycable-rails-1.1.0.pre1 lib/anycable/rails/actioncable/remote_connections.rb
anycable-rails-1.0.7 lib/anycable/rails/actioncable/remote_connections.rb
anycable-rails-1.0.5 lib/anycable/rails/actioncable/remote_connections.rb
anycable-rails-1.0.4 lib/anycable/rails/actioncable/remote_connections.rb
anycable-rails-1.0.3 lib/anycable/rails/actioncable/remote_connections.rb
anycable-rails-1.0.2 lib/anycable/rails/actioncable/remote_connections.rb
anycable-rails-1.0.1 lib/anycable/rails/actioncable/remote_connections.rb
anycable-rails-1.0.0 lib/anycable/rails/actioncable/remote_connections.rb
anycable-rails-1.0.0.rc4 lib/anycable/rails/actioncable/remote_connections.rb
anycable-rails-1.0.0.rc3 lib/anycable/rails/actioncable/remote_connections.rb