Skip to main content

resolve_server

Function resolve_server 

Source
pub fn resolve_server(
    cli_server: Option<String>,
    config: &BhtuneConfig,
) -> Result<String>
Expand description

Resolve the OPC DA server ProgID with CLI flag > config file precedence, erroring if neither is set – there’s no sensible default for which OPC server to talk to.