Link to ActionCable::Connection callback methods [ci-skip]

This commit is contained in:
Jonathan Hefner 2023-06-26 13:51:20 -05:00
parent 53a75d4082
commit eac107cfa9

@ -6,9 +6,13 @@ module ActionCable
module Connection
# = Action Cable \Connection \Callbacks
#
# There are <tt>before_command</tt>, <tt>after_command</tt>, and <tt>around_command</tt> callbacks
# available to be invoked before, after or around every command received by a client respectively.
# The term "command" here refers to any interaction received by a client (subscribing, unsubscribing or performing actions):
# The {before_command}[rdoc-ref:ClassMethods#before_command],
# {after_command}[rdoc-ref:ClassMethods#after_command], and
# {around_command}[rdoc-ref:ClassMethods#around_command] callbacks are
# invoked when sending commands to the client, such as when subscribing,
# unsubscribing, or performing an action.
#
# ==== Example
#
# module ApplicationCable
# class Connection < ActionCable::Connection::Base