@rongcloud/engine 4.4.8-enterprise.1 → 4.4.9-enterprise-alpha.3
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/dist/index.d.ts +8 -3
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* RCEngine - v4.4.
|
|
3
|
-
* CommitId -
|
|
4
|
-
*
|
|
2
|
+
* RCEngine - v4.4.9-enterprise-alpha.3
|
|
3
|
+
* CommitId - b086181ec2bcac34db57499d0acea1e4c8f49b8f
|
|
4
|
+
* Mon Nov 29 2021 17:51:55 GMT+0800 (China Standard Time)
|
|
5
5
|
* ©2020 RongCloud, Inc. All rights reserved.
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
@@ -1755,6 +1755,10 @@ declare class WebSocketChannel extends ADataChannel {
|
|
|
1755
1755
|
* @param apiVersion - apiVersion 需符合 `/\d+(\.\d+){2}/` 规则
|
|
1756
1756
|
*/
|
|
1757
1757
|
connect(appkey: string, token: string, hosts: string[], protocol: 'http' | 'https', apiVersion: string): Promise<ErrorCode>;
|
|
1758
|
+
/**
|
|
1759
|
+
* 发起连接请求
|
|
1760
|
+
*/
|
|
1761
|
+
private _connect;
|
|
1758
1762
|
/**
|
|
1759
1763
|
* 当前累计心跳超时次数
|
|
1760
1764
|
*/
|
|
@@ -1799,6 +1803,7 @@ declare class CometChannel extends ADataChannel {
|
|
|
1799
1803
|
*/
|
|
1800
1804
|
_startPullSignal(protocol: 'http' | 'https'): Promise<void>;
|
|
1801
1805
|
connect(appkey: string, token: string, hosts: string[], protocol: 'http' | 'https', apiVersion: string): Promise<ErrorCode>;
|
|
1806
|
+
private _connect;
|
|
1802
1807
|
private _idCount;
|
|
1803
1808
|
private _generateMessageId;
|
|
1804
1809
|
sendCometData(writer: BaseWriter, timeout?: number): Promise<void>;
|