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

booth

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

booth

WebSocket interaction based on protocol idea, not on events.

  • 0.9.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
56
increased by833.33%
Maintainers
1
Weekly downloads
 
Created
Source

Booth

WebSocket interaction based on protocol idea, not on events.

idea

The idea: when we need WebSocket we need not events, but protocol: some requests & responses, similar to HTTP environment.

The library consists of three types of objects:

  • requests: one side can ask other with request, response is required (will be returned as promise with timeout)
  • realtime: one side can push realtime data to another, data can be filtered on the other side
  • realtime-broadcasting: push realtime data to all clients

todo

  • file transmission
  • support reconnects

docs

Booth has simple symmetric API. You can see descriptive example on gh-pages.

license

MIT. Copyright © 2015 StrangeTransistor.

Keywords

FAQs

Package last updated on 12 Mar 2015

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