From 9e725646777f66ba6436faadd64258b3eef693f0 Mon Sep 17 00:00:00 2001 From: RustDesk <71636191+rustdesk@users.noreply.github.com> Date: Tue, 24 Mar 2026 15:25:35 +0800 Subject: [PATCH] OPTION_USE_RAW_TCP_FOR_API --- src/config.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/config.rs b/src/config.rs index b863d3cde..14aa28419 100644 --- a/src/config.rs +++ b/src/config.rs @@ -2709,6 +2709,7 @@ pub mod keys { pub const OPTION_ALLOW_LOGON_SCREEN_PASSWORD: &str = "allow-logon-screen-password"; pub const OPTION_ONE_WAY_FILE_TRANSFER: &str = "one-way-file-transfer"; pub const OPTION_ALLOW_HTTPS_21114: &str = "allow-https-21114"; + pub const OPTION_USE_RAW_TCP_FOR_API: &str = "use-raw-tcp-for-api"; pub const OPTION_ALLOW_HOSTNAME_AS_ID: &str = "allow-hostname-as-id"; pub const OPTION_HIDE_POWERED_BY_ME: &str = "hide-powered-by-me"; pub const OPTION_MAIN_WINDOW_ALWAYS_ON_TOP: &str = "main-window-always-on-top"; @@ -2921,6 +2922,7 @@ pub mod keys { OPTION_DISABLE_CHANGE_PERMANENT_PASSWORD, OPTION_DISABLE_CHANGE_ID, OPTION_DISABLE_UNLOCK_PIN, + OPTION_USE_RAW_TCP_FOR_API, ]; }