forked from rahearn/Socket.IO-rack
-
Notifications
You must be signed in to change notification settings - Fork 0
Rack version for the Socket.IO server side (just like Socket.IO-node) -- an unofficial implementation.
License
plexorama/Socket.IO-rack
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
*STATUS*
Running in production enviroment, altough there are no major difficulties, the code might still require some debugging. The project can be considered BETA quality.
*RECENT CHANGES*
- added WebSockets 8 (hybi-10) framing support
- runs with Google Chrome v13 and v14+ beta and Firefox 6
*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 0
No packages published
Languages
- Ruby 55.1%
- JavaScript 44.9%