Skip to main content

set_user_agent_info

Function set_user_agent_info 

Source
pub fn set_user_agent_info(
    version: String,
    runtime: String,
) -> Result<(), &'static str>
Expand description

Sets the wrapper’s package version and runtime for the TDS User-Agent, leaving LOGIN7 unchanged. Language bindings should call this before creating connections. Reinitializing with the same values is allowed; different values are rejected.