pub fn load_settings(
default_address: Option<SocketAddr>,
values: &HashMap<String, String>,
) -> Result<ServiceSettings, HttpServerError>
Expand description
Load settings provides a flexible means for loading configuration. Return value is any structure with Deserialize, or for example, HashMap<String,String> config_b64: base64-encoded json string config_json: raw json string Also accept “address” (a string representing SocketAddr) and “port”, a localhost port If more than one key is provided, they are processed in the order above. (later names override earlier names in the list)