instance method connect

Ruby on Rails edge

Since edge

Signature

connect()

This method is called every time an Action Cable client establishes an underlying connection. Override it in your class to define authentication logic and populate connection identifiers.

Source
# File actioncable/lib/action_cable/connection/base.rb, line 83
      def connect
      end

Defined in actioncable/lib/action_cable/connection/base.rb line 83 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionCable::Connection::Base

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close