Socket
Socket
Sign inDemoInstall

amqp10-transport-ws

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amqp10-transport-ws

Provides a Websocket implementation for the transport layer for node-amqp10.


Version published
Maintainers
2
Created
Source

node-amqp10-transport-ws

Build Status Dependency Status Code Climate Test Coverage npm version Join the main amqp10 chat at https://gitter.im/noodlefrenzy/node-amqp10

Provides a Websocket implementation for the transport layer for node-amqp10.

The amqp10 library exports a TransportProvider class that is used to manage and inject new transports for the library to use. Each transport should expose a register method that takes the TransportProvider as an argument, allowing any transport to register a new protocol to be used.

In the present case the protocol registered is wss (webocket transport using the node-websocket library).

Usage

var amqp10 = require('amqp10');
var wsTransport = require('amqp10-transport-ws');

wsTransport.register(amqp10.TransportProvider);

Once registered, any URI starting with wss:// given to the connect method of amqp10.Client will be handled by the websocket transport.

Keywords

FAQs

Package last updated on 14 Sep 2016

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