NapCatQQ/src/core/services/NodeIKernelMSFService.ts
手瓜一十雪 ac193cc94a style: lint
2025-02-02 20:17:28 +08:00

30 lines
713 B
TypeScript

import { GeneralCallResult } from './common';
export interface NodeIKernelMSFService {
getServerTime(): string;
setNetworkProxy(param: {
userName: string,
userPwd: string,
address: string,
port: number,
proxyType: number,
domain: string,
isSocket: boolean
}): Promise<GeneralCallResult>;
//http
// userName: '',
// userPwd: '',
// address: '127.0.0.1',
// port: 5666,
// proxyType: 1,
// domain: '',
// isSocket: false
//socket
// userName: '',
// userPwd: '',
// address: '127.0.0.1',
// port: 5667,
// proxyType: 2,
// domain: '',
// isSocket: true
}