code: function(iOstWSProvider) {
    const oThis = this;
  
    oThis.iOstWSProvider = iOstWSProvider;
    oThis.endPointUrl = iOstWSProvider.endPointUrl;
    oThis.notificationCallbacks = iOstWSProvider.notificationCallbacks;
  
    const options = iOstWSProvider.options;
    Object.assign(oThis, options);
  
    oThis.reconnect();
  }
docs: Reconnector Class.