instance method
cookies
Ruby on Rails 7.1.6
Since v5.2.8.1 PrivateSignature
cookies()
The cookies of the request that initiated the WebSocket connection. Useful for performing authorization checks.
Source
# File actioncable/lib/action_cable/connection/base.rb, line 172
def cookies # :doc:
request.cookie_jar
end
Defined in actioncable/lib/action_cable/connection/base.rb line 172
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Connection::Base