WebSocket examples for varied talks
JavaScript Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.bundle
public
sockets
views
.gitignore
Gemfile
Gemfile.lock
README.md
config.rb
config.ru
site.rb

README.md

Websocket examples for Rubyconf Uruguay 2010

Usage

Socket servers are in sockets/. There's a Sinatra site with pages that listen to different socket servers.

Start one or more socket server examples.

ruby sockets/multicast.rb

Start the site:

bundle exec rackup -p 3000

Channels

ws://localhost:8080/channel_name_here

Navigate to localhost:3000. You should see an index of available examples.

Installation

You'll need the Bundler gem installed to manage dependencies.

gem install bundler

Now you can clone and install dependencies

git clone http://github.com/ismasan/websockets_examples.git
cd websockets_examples
bundle install