Method: ActionCable::Server::Base#call

Defined in:
actioncable/lib/action_cable/server/base.rb

#call(env) ⇒ Object

Called by Rack to set up the server.



38
39
40
41
42
# File 'actioncable/lib/action_cable/server/base.rb', line 38

def call(env)
  return config.health_check_application.call(env) if env["PATH_INFO"] == config.health_check_path
  setup_heartbeat_timer
  config.connection_class.call.new(self, env).process
end