初始化版本库,可用

This commit is contained in:
2021-01-28 10:17:21 +08:00
commit d2573c0b1c
1750 changed files with 41088 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
/**
* WebSocket 客户端. 每隔一分钟尝试连接到CAD的服务
*/
export declare class WebSocketClientServer {
url: string;
private ws;
mode: string;
constructor(url?: string);
_ConnectionPromise: Promise<boolean>;
Connect(): Promise<boolean>;
Send(msg: string): Promise<void>;
/**
* 接收到消息. AOP可接入此函数
* @param {MessageEvent} event
*/
OnMessage: (event: MessageEvent) => void;
OnLinkEvent(isLink: boolean): void;
Close(): Promise<void>;
}
//# sourceMappingURL=WebSocketClientServer.d.ts.map