Skip to main content

get_config

Function get_config 

Source
pub fn get_config(key: &str) -> Option<String>
Expand description

Get a configuration value from the host by key.

Common keys include data_dir, host_port, app_name, and app_id. The full set of available keys is determined by the host at app-init time.

Returns None if the key is not registered or the context is not available (called before init).