Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

sloth-reel

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sloth-reel

bundlerRubyGems.org
Version
0.1.1
Version published
Maintainers
1
Created
Source

= Reels

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.

== Installation

Add this line to your application's Gemfile:

[source,ruby]

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

[source,ruby]

require 'sloth/reel'

class WebApp < Sinatra::Base get "/" do '

' end

post "/" do ' Howdy. ' end end

Reel::Rack::Server.new( WebApp.new, Host: "0.0.0.0", Port: 3000 )

sleep

== 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 http://opensource.org/licenses/MIT[MIT License].

Copyright (c) ARIMA Yasuhiro arima.yasuhiro@gmail.com

FAQs

Package last updated on 10 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts