This commit is contained in:
手瓜一十雪
2025-02-07 17:43:08 +08:00
parent 8c01077343
commit 3f883d0de5
2 changed files with 36 additions and 14 deletions

View File

@@ -1,5 +1,6 @@
import { GeneralCallResult } from './common';
enum ProxyType {
CLOSE = 0,
HTTP = 1,
SOCKET = 2
}
@@ -14,6 +15,15 @@ export interface NodeIKernelMSFService {
domain: string,
isSocket: boolean
}): Promise<GeneralCallResult>;
getNetworkProxy(): Promise<{
userName: string,
userPwd: string,
address: string,
port: number,
proxyType: ProxyType,
domain: string,
isSocket: boolean
}>;
//http
// userName: '',
// userPwd: '',