RubyFlow The Ruby and Rails community linklog

Chat Example App Using Server-Sent Events

Rails 4 can stream data to the browser with ActionController::Live using server-sent events (SSEs). Mason was curious how server sent events worked so he decided to use them to implement a simple chat application. Tiny-chat is a chat app he built using Goliath, Redis Pub/Sub and of course server-sent events.

Read the source-code walkthrough here.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in