core/asset/js/plugin/dist/gina.min.js
function WS(opts) {
	  var forceBase64 = opts && opts.forceBase64;
	  if (forceBase64) {
	    this.supportsBinary = false;
	  }
	  this.perMessageDeflate = opts.perMessageDeflate;
	  this.usingBrowserWebSocket = BrowserWebSocket && !opts.forceNode;
	  this.protocols = opts.protocols;
	  if (!this.usingBrowserWebSocket) {
	    WebSocket = NodeWebSocket;
	  }
	  Transport.call(this, opts);
	}
function WS(opts) {
	  var forceBase64 = opts && opts.forceBase64;
	  if (forceBase64) {
	    this.supportsBinary = false;
	  }
	  this.perMessageDeflate = opts.perMessageDeflate;
	  this.usingBrowserWebSocket = BrowserWebSocket && !opts.forceNode;
	  this.protocols = opts.protocols;
	  if (!this.usingBrowserWebSocket) {
	    WebSocket = NodeWebSocket;
	  }
	  Transport.call(this, opts);
	}
function WS ( opts ) { var forceBase64 = opts && opts . forceBase64 ; if ( forceBase64 ) { this . supportsBinary = false ; } this . perMessageDeflate = opts . perMessageDeflate ; this . usingBrowserWebSocket = BrowserWebSocket && ! opts . forceNode ; this . protocols = opts . protocols ; if ( ! this . usingBrowserWebSocket ) { WebSocket = NodeWebSocket ; } Transport . call ( this , opts ) ; }
WebSocket transport constructor.

@api {Object} connection options
@api public
WebSocket transport constructor .