code: 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);
  	}
docs: WebSocket transport constructor.
  
  @api {Object} connection options
  @api public