@rongcloud/engine 5.20.0 → 5.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -8745,13 +8745,13 @@ interface ISSEClientInitOpts extends ISSERequestOpts {
8745
8745
  }
8746
8746
  declare abstract class SSEClient {
8747
8747
  #private;
8748
- /** 平台标识,用于请求时携带 */
8749
- protected abstract _platform: string;
8750
8748
  protected readonly _logger: ILogger;
8751
8749
  constructor(
8752
8750
  /** 初始化参数 */
8753
8751
  initOpts: ISSEClientInitOpts);
8754
8752
  /**
8753
+ * 子类实现 SSE 请求:
8754
+ * * 需在因客户端网络问题导致的请求失败时返回 -1,以便于换地址重试
8755
8755
  * @param url - 服务地址
8756
8756
  * @param opts
8757
8757
  */