instance method
before_subscribe
Ruby on Rails 7.1.6
Since v5.2.8.1Signature
before_subscribe(*methods, &block)
No documentation comment.
Parameters
-
methodsrest -
blockblock
Source
# File actioncable/lib/action_cable/channel/callbacks.rb, line 45
def before_subscribe(*methods, &block)
set_callback(:subscribe, :before, *methods, &block)
end
Defined in actioncable/lib/action_cable/channel/callbacks.rb line 45
· View on GitHub
· Improve this page
· Find usages on GitHub