Add AwarenessChannel for Awareness session subscriptions
The awareness channel allows clients to subscribe to changes in an Awareness session via a Websocket connection. It also enables clients to report back any activity (touch) from their side, and request updates to the current state of the awareness session.
显示
- app/channels/awareness_channel.rb 84 个添加, 0 个删除app/channels/awareness_channel.rb
- app/models/awareness_session.rb 23 个添加, 2 个删除app/models/awareness_session.rb
- spec/channels/awareness_channel_spec.rb 80 个添加, 0 个删除spec/channels/awareness_channel_spec.rb
- spec/models/awareness_session_spec.rb 33 个添加, 3 个删除spec/models/awareness_session_spec.rb
- spec/models/concerns/awareness_spec.rb 1 个添加, 5 个删除spec/models/concerns/awareness_spec.rb
app/channels/awareness_channel.rb
0 → 100644
spec/channels/awareness_channel_spec.rb
0 → 100644
想要评论请 注册 或 登录