1.1.4 • Published 6 years ago

socket-connection-wamp v1.1.4

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

Wamp socket connection

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

Installing

yarn add socket-connection-wamp
npm -i socket-connection-wamp

Usage

import {WampConnection} from 'socket-connection-wamp';
import {IConnectionOptions} from 'autobahn';

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

Methods

connect

Create wamp connection using options passed to constructor

close

Close wamp connection

isConnected

Return boolean whether connection is opened or closed

send

Calls private methods depends on passed type.

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago