Skip to content

Commit

Permalink
Link to ActionCable::Connection callback methods [ci-skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanhefner committed Oct 7, 2023
1 parent 53a75d4 commit eac107c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions actioncable/lib/action_cable/connection/callbacks.rb
Expand Up @@ -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
Expand Down

0 comments on commit eac107c

Please sign in to comment.