instance method
call
Ruby on Rails 8.0.4
Since v5.2.8.1Signature
call(env)
Called by Rack to set up the server.
Parameters
-
envreq
Source
# 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
Defined in actioncable/lib/action_cable/server/base.rb line 38
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Server::Base