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