code: function () {
      NAF.log.setDebug(this.data.debug);
      NAF.log.write('Networked-Aframe Connecting...');
  
      this.checkDeprecatedProperties();
      this.setupNetworkAdapter();
  
      if (this.hasOnConnectFunction()) {
        this.callOnConnect();
      }
      return NAF.connection.connect(this.data.serverURL, this.data.app, this.data.room, this.data.audio);
    }
docs: Connect to signalling server and begin connecting to other clients