refactor: update MihomoManager to handle traffic WebSocket URL and authorization

This commit is contained in:
Tunglies
2025-03-09 14:43:58 +08:00
parent e1905aced4
commit 48f1da963a
7 changed files with 35 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
use once_cell::sync::OnceCell;
#[cfg(target_os = "macos")]
pub mod speed_rate;
use crate::core::clash_api::Rate;
use crate::module::mihomo::Rate;
use crate::{
cmd,
config::Config,