whole_func_string: function setDSN(dsn) {
  	    var self = this,
  	        uri = self._parseDSN(dsn),
  	        lastSlash = uri.path.lastIndexOf('/'),
  	        path = uri.path.substr(1, lastSlash);
  
  	    self._dsn = dsn;
  	    self._globalKey = uri.user;
  	    self._globalSecret = uri.pass && uri.pass.substr(1);
  	    self._globalProject = uri.path.substr(lastSlash + 1);
  	    self._globalServer = self._getGlobalServer(uri);
  	    self._globalEndpoint = self._globalServer + '/' + path + 'api/' + self._globalProject + '/store/'; // Reset backoff state since we may be pointing at a
  	    // new project/server
  
  	    this._resetBackoff();
  	  }
func_code_string: function setDSN(dsn) {
  	    var self = this,
  	        uri = self._parseDSN(dsn),
  	        lastSlash = uri.path.lastIndexOf('/'),
  	        path = uri.path.substr(1, lastSlash);
  
  	    self._dsn = dsn;
  	    self._globalKey = uri.user;
  	    self._globalSecret = uri.pass && uri.pass.substr(1);
  	    self._globalProject = uri.path.substr(lastSlash + 1);
  	    self._globalServer = self._getGlobalServer(uri);
  	    self._globalEndpoint = self._globalServer + '/' + path + 'api/' + self._globalProject + '/store/'; // Reset backoff state since we may be pointing at a
  	    // new project/server
  
  	    this._resetBackoff();
  	  }
func_documentation_string: /*
  Set the DSN (can be called multiple time unlike config)
  
  @param {string} dsn The public Sentry DSN