Skip to content

Rack version for the Socket.IO server side (just like Socket.IO-node) -- an unofficial implementation.

License

Notifications You must be signed in to change notification settings

rahearn/Socket.IO-rack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

*STATUS*

Super alpha, super experimental, not to be used yet for real work, unless you want to hack in to the code and help me get it to production ready. :)

*REQUIREMENTS*

You need the following gems:

* thin
* redis

And also a running redis installation, with at least version 2.1.3 (yes, you'll have to use the trunk version).

*GOAL*

Add this in your config/environment.rb in Rails, or just use the
Middleware, in any Rack-compatible app. This will be implemented
using Thin + EventMachine, so you're likely going to need those as well.

config.middleware.use("Palmade::SocketIoRack::Middleware",
                      { :resources => {
                                        '/firehose/socket.io' => "Tweetitow::FirehoseSocket",
                                        '/echo' => "Palmade::SocketIoRack::EchoResource" } })

About

Rack version for the Socket.IO server side (just like Socket.IO-node) -- an unofficial implementation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 51.9%
  • JavaScript 48.1%