Skip to main content

resolve_allow_tcp_unauthenticated

Function resolve_allow_tcp_unauthenticated 

Source
fn resolve_allow_tcp_unauthenticated(
    cli_allow: bool,
    cli_deny: bool,
    configured: Option<bool>,
) -> bool
Expand description

合并 CLI args + 配置文件 (CLI 优先)

配置文件查找顺序:

  1. --config <path>:TOML(v1.4.2+)
  2. --cfg-file <path>:XML(兼容 C++ FutuOpenD.xml)
  3. 自动检测:同目录 futu-opend.toml → FutuOpenD.xml