Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alessandrostein/a541138a927d0563476efe03d248cad6 to your computer and use it in GitHub Desktop.
Save alessandrostein/a541138a927d0563476efe03d248cad6 to your computer and use it in GitHub Desktop.
# Server Console
Finished "/cable/" [WebSocket] for ::1 at 2020-06-08 22:05:04 -0300
NotificationChannel stopped streaming from notification_channel
TestChannel stopped streaming from test
StimulusReflex::Channel stopped streaming from StimulusReflex::Channel
Started GET "/cable" for ::1 at 2020-06-08 22:05:04 -0300
Started GET "/cable/" [WebSocket] for ::1 at 2020-06-08 22:05:04 -0300
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
NotificationChannel is transmitting the subscription confirmation
NotificationChannel is streaming from notification_channel
TestChannel is transmitting the subscription confirmation
TestChannel is streaming from test
TestChannel#receive({"message"=>"Client is live"})
Client is live
[ActionCable] Broadcasting to test: "ActionCable is connected"
TestChannel transmitting "ActionCable is connected" (via streamed from test)
StimulusReflex::Channel is transmitting the subscription confirmation
StimulusReflex::Channel is streaming from StimulusReflex::Channel
# Browser Console
ActionCable is connected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment