Awesome Open Source
Awesome Open Source

RxStomp

Build Status

This library provides an RxJS oriented STOMP over WebSocket client for Web browser and node.js applications.

Introduction

This is a wrapper over https://awesomeopensource.com/project/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:

  1. NPM - npm install @stomp/rx-stomp
  2. Yarn - yarn add @stomp/rx-stomp
  3. 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

License

License - Apache-2.0

Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,074,350
Typescript (255,886
Websocket (13,926
Rabbitmq (6,258
Messaging (5,755
Rxjs (2,766
Rx (2,602
Umd (1,066
Activemq (1,010
Stomp (677
Typescript Definitions (387