ActionCable
Constants
Compile-time registry of channel classes, filled via inherited.
Compile-time registry of connection identifiers, filled via Connection.identified_by; read by #identifiers, Server and RemoteConnections (the gem's Connection::Identification class attribute).
Prefix of the per-connection internal pubsub channel (the gem's Connection::InternalChannel#internal_channel).
Compile-time registry of periodically declarations, filled via the
Channel::Base periodically macro; read by the end-of-program
codegen (macro finished below). Each entry: {class name, method
name, every}.
Class methods
Identifier names registered via Connection.identified_by, as a runtime array (the compile-time macro list is CONNECTION_IDENTIFIERS).
Cable envelope for stream delivery: {"identifier":…,"message":…}. Built once per broadcast per unique identifier (encode-once, the uWS TopicTree "palette" analog): a payload that is already valid JSON is embedded as-is — same JSON value, no parse→dump round trip.
Имя приложения для GlobalID-сериализации записей в именах стримов (гем: GlobalID.app; default — ENV, иначе "app"). Канонический вид: base64url("gid://<app>/<Class>/<id>") без паддинга (оракул stream_for_expected.yml, sf_gid_param).
Имя приложения для GlobalID-сериализации записей в именах стримов (гем: GlobalID.app; default — ENV, иначе "app"). Канонический вид: base64url("gid://<app>/<Class>/<id>") без паддинга (оракул stream_for_expected.yml, sf_gid_param).
Channel-class lookup by name (Ruby uses const_get; we generate the table at end-of-program when all channel classes are known).
Nested types
- ActionCable::Broadcastable
- ActionCable::CableValue
- ActionCable::Channel
- ActionCable::Connection
- ActionCable::ConnectionAPI
- ActionCable::CorkWriter
- ActionCable::Internal
- ActionCable::LockedImageIO
- ActionCable::RemoteConnections
- ActionCable::RubyInspect
- ActionCable::Server
- ActionCable::SubscriptionAdapter
- ActionCable::UnauthorizedConnectionError