🐛 fix: Update protocol plugin handling and add new options in typings

This commit is contained in:
web
2025-09-13 23:17:21 -07:00
parent 8dffd69b48
commit 6ca24333da
9 changed files with 141 additions and 9 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
// @ts-ignore
// API 更新时间:
// API 唯一标识:
import * as ads from './ads';
+12
View File
@@ -1519,6 +1519,18 @@ declare namespace API {
reduce_rtt?: boolean;
udp_relay_mode?: string;
congestion_controller?: string;
/** obfs, v2ray-plugin, simple-obfs */
plugin?: string;
/** plugin options, eg: obfs=http;obfs-host=www.bing.com */
plugin_options?: string;
/** mux, eg: off/low/medium/high */
multiplex?: string;
/** padding scheme */
padding_scheme?: string;
/** upload speed limit */
up_mbps?: number;
/** download speed limit */
down_mbps?: number;
};
type PubilcRegisterConfig = {