instance method
before_subscribe
Ruby on Rails 8.0.4
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 48
def before_subscribe(*methods, &block)
set_callback(:subscribe, :before, *methods, &block)
end
Defined in actioncable/lib/action_cable/channel/callbacks.rb line 48
· View on GitHub
· Improve this page
· Find usages on GitHub