mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-27 16:00:09 +08:00
21 lines
508 B
TypeScript
21 lines
508 B
TypeScript
import type { MuxOption } from "./MuxOption";
|
|
export type TuicServer = {
|
|
enable: boolean;
|
|
listen: string;
|
|
token?: Array<string>;
|
|
users?: {
|
|
[key in string]?: string;
|
|
};
|
|
certificate: string;
|
|
privateKey: string;
|
|
echKey: string;
|
|
congestionController?: string;
|
|
maxIdleTime?: number;
|
|
authenticationTimeout?: number;
|
|
alpn?: Array<string>;
|
|
maxUdpRelayPacketSize?: number;
|
|
maxDatagramFrameSize?: number;
|
|
cwnd?: number;
|
|
muxOption?: MuxOption;
|
|
};
|