0.0.8 • Published 6 years ago

stompts v0.0.8

Weekly downloads
13
License
Apache-2.0
Repository
github
Last release
6 years ago

StompTS

As now, this is JUST a little experiment.

The original source was in coffeescript transpiled into javascript.

This is manual port of it, starting with the javascript version.

How to use (work in progress)

    import * as stomp from 'stompts';

    // ...

    var client = new stomp.Client('ws://localhost:15674/ws');
    client.connect(
      {
        login: 'guest',
        passcode: 'guest'
      },
      (frame) => {
        console.log(`connected: ${frame}`);
        this.client.subscribe('/topic/test.#', (f) => {
          console.log(f);
        });
      }
    );

The original

https://github.com/jmesnil/stomp-websocket

/*
   Stomp Over WebSocket http://www.jmesnil.net/stomp-websocket/doc/ | Apache License V2.0
   Copyright (C) 2010-2013 [Jeff Mesnil](http://jmesnil.net/)
   Copyright (C) 2012 [FuseSource, Inc.](http://fusesource.com)
 */

Stomp Documentation

http://jmesnil.net/stomp-websocket/doc/

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago