Class: Hotwire::Spark::ActionCable::Server

Inherits:
ActionCable::Server::Base
  • Object
show all
Defined in:
lib/hotwire/spark/action_cable/server.rb

Instance Method Summary collapse

Constructor Details

#initializeServer

Returns a new instance of Server.



2
3
4
5
6
# File 'lib/hotwire/spark/action_cable/server.rb', line 2

def initialize
  config = ::ActionCable::Server::Base.config.dup
  config.connection_class = -> { ::ActionCable::Connection::Base }
  super(config: config)
end