whole_func_string: function WireClient(rs) {
    this.rs = rs;
    this.connected = false;
  
    /**
     * Event: connected
     *   Fired when the wireclient connect method realizes that it is in
     *   possession of a token and href
     **/
    eventHandling(this, 'connected', 'not-connected');
  
    if (hasLocalStorage) {
      const settings = getJSONFromLocalStorage(SETTINGS_KEY);
      if (settings) {
        setTimeout(function () {
          this.configure(settings);
        }.bind(this), 0);
      }
    }
  
    this._revisionCache = {};
  
    if (this.connected) {
      setTimeout(this._emit.bind(this), 0, 'connected');
    }
  }
func_code_string: function WireClient(rs) {
    this.rs = rs;
    this.connected = false;
  
    /**
     * Event: connected
     *   Fired when the wireclient connect method realizes that it is in
     *   possession of a token and href
     **/
    eventHandling(this, 'connected', 'not-connected');
  
    if (hasLocalStorage) {
      const settings = getJSONFromLocalStorage(SETTINGS_KEY);
      if (settings) {
        setTimeout(function () {
          this.configure(settings);
        }.bind(this), 0);
      }
    }
  
    this._revisionCache = {};
  
    if (this.connected) {
      setTimeout(this._emit.bind(this), 0, 'connected');
    }
  }
func_documentation_string: Class : WireClient