Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mattheworiordan
Last active March 25, 2016 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattheworiordan/38ec6b69247554c5ce9f to your computer and use it in GitHub Desktop.
Save mattheworiordan/38ec6b69247554c5ce9f to your computer and use it in GitHub Desktop.
actioncable messages
/* Published message from client following a call to @perform, see https://goo.gl/s3Hb9G */
{"command":"message","identifier":"{\"channel\":\"EventsChannel\"}","data":"{\"action\":\"request_count\"}"}
/* Published message from client following a call to @perform, see https://goo.gl/s3Hb9G */
{count: "2", broadcastAt: 1458940410054.843}
/* No ACK/NACK for the published message, how do you know it arrived? */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment