Httpd and WebSocket sloth framework based on Celluloid, Reel, Rack and Sinatra.
Features
-
Handle Sinatra asynchronously.
-
Coordinate Sinatra and WebSocket.
-
The implementation is a monkey patch to Reel, Sinatra and WebSocket.
-
It is not a stable version because it depends on the celluloid development version.
Installation
Add this line to your application’s Gemfile:
gem 'sloth-reel'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install sloth-reel
or
$ gem install -l sloth-reel-x.x.x.gem
Usage
Example 1
Reference
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/arimay/sloth-reel.
License
The gem is available as open source under the terms of the MIT License.
Copyright (c) ARIMA Yasuhiro <[email protected]>