This commit is contained in:
手瓜一十雪
2025-02-07 17:25:48 +08:00
parent 8a6ffac836
commit 8c01077343
2 changed files with 17 additions and 2 deletions

View File

@@ -1,5 +1,8 @@
import { GeneralCallResult } from './common';
enum ProxyType {
HTTP = 1,
SOCKET = 2
}
export interface NodeIKernelMSFService {
getServerTime(): string;
setNetworkProxy(param: {
@@ -7,7 +10,7 @@ export interface NodeIKernelMSFService {
userPwd: string,
address: string,
port: number,
proxyType: number,
proxyType: ProxyType,
domain: string,
isSocket: boolean
}): Promise<GeneralCallResult>;