Expand description
Global configuration for this crate
.
You may change the configuration by calling set_config
function.
§Example
use tcp_handler::config::{Config, set_config};
set_config(Config::default());
Structs§
- Config
- Global configuration.
Functions§
- get_
compression - A cheaper shortcut of
- get_
config - Get the global configuration.
- get_
max_ packet_ size - A cheaper shortcut of
- set_
config - Set the global configuration.