src/wampy.js
/**
     * Fix websocket protocols based on options
     * @private
     */
Fix websocket protocols based on options
@private
Fix websocket protocols based on options @private
_setWsProtocols () {
        if (!(this._options.serializer instanceof JsonSerializer)) {
            this._protocols.unshift('wamp.2.' + this._options.serializer.protocol);
        }
    }
_setWsProtocols ( ) { if ( ! ( this . _options . serializer instanceof JsonSerializer ) ) { this . _protocols . unshift ( 'wamp.2.' + this . _options . serializer . protocol ) ; } }
Fix websocket protocols based on options
 @private
Fix websocket protocols based on options @private