mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-08-27 04:37:35 +00:00
Merge branch 'main' into refact/fs-expose-fn-validate-path
This commit is contained in:
@@ -28,6 +28,7 @@ message PunchHoleRequest {
|
||||
bool force_relay = 8;
|
||||
int32 upnp_port = 9;
|
||||
bytes socket_addr_v6 = 10;
|
||||
string switch_code = 11;
|
||||
}
|
||||
|
||||
message ControlPermissions {
|
||||
@@ -152,6 +153,7 @@ message RequestRelay {
|
||||
string token = 8;
|
||||
ControlPermissions control_permissions = 9;
|
||||
ControlledContext controlled_context = 10;
|
||||
string switch_code = 11;
|
||||
}
|
||||
|
||||
message RelayResponse {
|
||||
|
||||
@@ -2918,6 +2918,7 @@ pub mod keys {
|
||||
pub const OPTION_DIRECT_SERVER: &str = "direct-server";
|
||||
pub const OPTION_DIRECT_ACCESS_PORT: &str = "direct-access-port";
|
||||
pub const OPTION_WHITELIST: &str = "whitelist";
|
||||
pub const OPTION_ID_WHITELIST: &str = "id-whitelist";
|
||||
pub const OPTION_ALLOW_AUTO_DISCONNECT: &str = "allow-auto-disconnect";
|
||||
pub const OPTION_AUTO_DISCONNECT_TIMEOUT: &str = "auto-disconnect-timeout";
|
||||
pub const OPTION_ALLOW_ONLY_CONN_WINDOW_OPEN: &str = "allow-only-conn-window-open";
|
||||
@@ -3151,6 +3152,7 @@ pub mod keys {
|
||||
OPTION_DIRECT_SERVER,
|
||||
OPTION_DIRECT_ACCESS_PORT,
|
||||
OPTION_WHITELIST,
|
||||
OPTION_ID_WHITELIST,
|
||||
OPTION_ALLOW_AUTO_DISCONNECT,
|
||||
OPTION_AUTO_DISCONNECT_TIMEOUT,
|
||||
OPTION_ALLOW_ONLY_CONN_WINDOW_OPEN,
|
||||
|
||||
Reference in New Issue
Block a user