ri > ActionCable::Connection

πŸ“› ActionCable::Connection


πŸš€ Quick Reference

Use Case Command Description
πŸ”Œ Create a new connection ActionCable::Connection.new(server, env, coder) Instantiate a WebSocket connection with server, request environment, and message coder.
πŸ”„ Open connection connection.connect Establish the WebSocket connection and invoke the registered connect callback.
πŸ”š Close connection connection.disconnect Gracefully close the WebSocket connection and run disconnect callbacks.
πŸ“¨ Receive message connection.receive(data) Process an incoming WebSocket message (JSON‑encoded command or data).
πŸ“€ Transmit message connection.transmit(data) Send a raw JSON message to the client via the WebSocket.
🏷️ Get connection identifier connection.identifier Return the unique connection identifier string.

πŸ”— Extended by:

ActiveSupport::Autoload (from /home/chedong/.local/share/rdoc)















ActionCable::Connection
πŸ“› ActionCable::Connection πŸš€ Quick Reference
πŸ”— Extended by:

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-28 22:40 @216.73.217.46
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format