instance method
cookies
Ruby on Rails 8.1.2
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 187
def cookies # :doc:
request.cookie_jar
end
Defined in actioncable/lib/action_cable/connection/base.rb line 187
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Connection::Base