如何理解rails5的行动电缆

时间:2021-03-04 01:14:34

Recently I found that Rails5's ActionCable very interesting,So I want to dig into Rails5's ActionCable internels.But I didn't know where to begin.

最近我发现Rails5的ActionCable非常有趣,所以我想深入研究Rails5的ActionCable内部。但是我不知道从哪里开始。

I want someone pave the way for me: eg: what's the difference between ActionCable and faye and message_bus..do they use the same protocol like websockets?

我希望有人为我铺平道路:ActionCable和faye和message_bus有什么区别他们是否使用与websockets相同的协议?

2 个解决方案

#1


2  

I documented the protocol here: https://github.com/NullVoxPopuli/action_cable_client#the-action-cable-protocol

我在这里记录了协议:https://github.com/nullvoxpopulli/action_cable_client # action- cable_protocol

is that more of what you're looking for?

这是你想要的吗?

#2


0  

Actually David Heinemeier Hansson (DHH - the creator of Ruby on Rails) have made a video while ago about action cable

实际上,David Heinemeier Hansson (DHH——Ruby on Rails的创造者)不久前制作了一个关于动作有线的视频

Check the video here

检查视频

#1


2  

I documented the protocol here: https://github.com/NullVoxPopuli/action_cable_client#the-action-cable-protocol

我在这里记录了协议:https://github.com/nullvoxpopulli/action_cable_client # action- cable_protocol

is that more of what you're looking for?

这是你想要的吗?

#2


0  

Actually David Heinemeier Hansson (DHH - the creator of Ruby on Rails) have made a video while ago about action cable

实际上,David Heinemeier Hansson (DHH——Ruby on Rails的创造者)不久前制作了一个关于动作有线的视频

Check the video here

检查视频