rx-stomp
rx-stomp copied to clipboard
STOMP adaptor for RxJS
RxStomp
This library provides an RxJS oriented STOMP over WebSocket client for Web browser and node.js applications.
Introduction
This is a wrapper over https://github.com/stomp-js/stompjs. It exposes the STOMP operations as RxJS Observables. It provides almost all operations provided by the underlying library.
This has been developed using TypeScript and includes typing information in the distribution.
TypeScript definitions
The npm package includes TypeScript definitions, so there is no need no install it separately.
Installation
The library is distributed as UMD and ES6 modules. This can be installed as an npm module or directly from a CDN:
- NPM -
npm install @stomp/rx-stomp
- Yarn -
yarn add @stomp/rx-stomp
- Script - available on various CDNs, import both rx-stomp and stompjs
Additionally, rxjs^6.0 needs to be installed.
Usage
See https://stomp-js.github.io/ for instructions and tutorials.
This module is distributed as UMD and ES6 modules:
- NodeJs
require
, - ES6/typescript
import
- including a script tage in HTML.
See samples at: https://github.com/stomp-js/samples/.
API documentation at: https://stomp-js.github.io/api-docs/latest/classes/RxStomp.html.
Before installing please check: https://stomp-js.github.io/guide/stompjs/rx-stomp/ng2-stompjs/pollyfils-for-stompjs-v5.html.
Change-log
Please visit Change Log.
Contributing
If you want to understand the code, develop, or contribute. Please visit How to contribute.
Authors
- Sam Finnigan
- Jimi (Dimitris) Charalampidis
- Deepak Kumar
- Astha Deep
- Michel Promonet
- Ray Booysen
- Matt Critchlow
- Everyone involved at https://github.com/stomp-js/stomp-websocket and https://github.com/stomp-js/stompjs
License
License - Apache-2.0