Socket-connection-wamp provides class to create connection by wamp protocol. It implements Proxy interface from https://github.com/sschegolev/socket-connection.
yarn add socket-connection-wamp
npm -i socket-connection-wamp
import {WampConnection} from 'socket-connection-wamp';
import {IConnectionOptions} from 'autobahn';
const options: IConnectionOptions = {};
const wampProxy = new WampConnection(options);
Create wamp connection using options passed to constructor
Close wamp connection
Return boolean whether connection is opened or closed
Calls private methods depends on passed type.