Namespace
Methods
G
S
V
Constants
INTERNAL = { message_types: { welcome: "welcome".freeze, ping: "ping".freeze, confirmation: "confirm_subscription".freeze, rejection: "reject_subscription".freeze }, default_mount_path: "/cable".freeze, protocols: ["actioncable-v1-json".freeze, "actioncable-unsupported".freeze].freeze }
 
Class Public methods
gem_version()

Returns the version of the currently loaded Action Cable as a Gem::Version.

# File rails/actioncable/lib/action_cable/gem_version.rb, line 5
def self.gem_version
  Gem::Version.new VERSION::STRING
end
version()

Returns the version of the currently loaded Action Cable as a Gem::Version

# File rails/actioncable/lib/action_cable/version.rb, line 7
def self.version
  gem_version
end
Instance Public methods
server()

Singleton instance of the server

# File rails/actioncable/lib/action_cable.rb, line 45
                def server
  @server ||= ActionCable::Server::Base.new
end