feat: increase the concurrency of latency test

This commit is contained in:
GyDi
2023-11-01 20:52:38 +08:00
parent 1f1e743912
commit 5a0fed9c93
6 changed files with 45 additions and 4 deletions

View File

@@ -153,6 +153,11 @@ export async function openWebUrl(url: string) {
return invoke<void>("open_web_url", { url });
}
export async function cmdGetProxyDelay(name: string, url?: string) {
name = encodeURIComponent(name);
return invoke<{ delay: number }>("clash_api_get_proxy_delay", { name, url });
}
/// service mode
export async function checkService() {