We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
从休眠状态开启后会有一段时间显示无法连接到steam,wifi图标处会显示黄色叹号,等待一会后恢复,这个貌似是clash TUN模式下会存在的问题,在Windows系统上也会有。 一个workaround是:经多次实验可以通过在yacd页面的“连接”里选择断开所有连接来解决,但这样要点击多次不太方便,请问可否直接在插件首页增加一个close all connection的按钮来快速操作。 我看了一下原理是向http://127.0.0.1.9090/connections发送一个delete请求就行,我本想照着您的代码自己写一个,但无奈不会编译rust, 请您看看能否实现我这个需求: pub fn close_all_connections() -> Result<(), Box> { //发送clash请求 let request_url ="http://127.0.0.1.9090/connections"; reqwest::delete(&request_url).await?; log::info!("Successfully close all connections"); Ok(()) }
The text was updated successfully, but these errors were encountered:
了解你的需求,将在近期添加。
Sorry, something went wrong.
No branches or pull requests
从休眠状态开启后会有一段时间显示无法连接到steam,wifi图标处会显示黄色叹号,等待一会后恢复,这个貌似是clash TUN模式下会存在的问题,在Windows系统上也会有。
一个workaround是:经多次实验可以通过在yacd页面的“连接”里选择断开所有连接来解决,但这样要点击多次不太方便,请问可否直接在插件首页增加一个close all connection的按钮来快速操作。
我看了一下原理是向http://127.0.0.1.9090/connections发送一个delete请求就行,我本想照着您的代码自己写一个,但无奈不会编译rust,
请您看看能否实现我这个需求:
pub fn close_all_connections() -> Result<(), Box> {
//发送clash请求
let request_url ="http://127.0.0.1.9090/connections";
reqwest::delete(&request_url).await?;
log::info!("Successfully close all connections");
Ok(())
}
The text was updated successfully, but these errors were encountered: