Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

roda-websockets

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

roda-websockets

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

roda-websockets

The roda-websockets gem integrates async-websockets into the roda web toolkit. Use this plugin for asynchronous websockets alongside roda and falcon.

Installation

gem install roda-websockets

Source Code

Source code is available on GitHub at https://github.com/havenwood/roda-websockets

Usage

roda-websockets requires that you use Falcon as your web server in order to establish asynchronous websocket connections.

falcon serve --bind http://localhost:3000 --count 1 --config config.ru

roda-websockets is a roda plugin, so you need to load it into your roda application similar to other plugins:

class App < Roda
  plugin :websockets
end

In your routing block, you can use r.websocket to pass the routing to a websocket connection.

r.websocket do |connection|
  # ...
end

FAQs

Package last updated on 27 Jun 2019

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc