0.0.10 • Published 6 years ago

@lykkex/subzero-wamp v0.0.10

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

Wamp socket connection

Subzero-wamp provides class to create connection by wamp protocol. It implements Proxy interface from https://github.com/sschegolev/socket-connection.

Installing

yarn add @lykkex/subzero-wamp
npm -i @lykkex/subzero-wamp

Usage

import {WampConnection} from '@lykkex/subzero-wamp';
import {IConnectionOptions} from 'autobahn';

const options: IConnectionOptions = {};
const wampProxy = new WampConnection(options);

Methods

connect

Creates wamp connection using options passed to constructor

close

Closes wamp connection

isConnected

Returns boolean whether connection is opened or closed

send

Calls private methods depends on passed type.

0.0.10

6 years ago

0.0.9

6 years ago

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.3

6 years ago

0.0.2

6 years ago