Function tcp_server::config::get_config
source · pub fn get_config() -> ServerConfig
Expand description
Gets the global configuration.
§Example
use tcp_server::config::get_config;
let config = get_config();
pub fn get_config() -> ServerConfig
Gets the global configuration.
use tcp_server::config::get_config;
let config = get_config();