amqp10-transport-ws

0.0.5 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.5
    32
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.5
    32
  • 0.0.4
    35
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i amqp10-transport-ws

Weekly Downloads

67

Version

0.0.5

License

MIT

Last publish

Collaborators

  • noodlefrenzy
  • pierreca