Expand description
Global configuration for this crate
.
You may change the configuration by calling set_config
function.
§Example
use tcp_client::config::{ClientConfig, set_config};
set_config(ClientConfig::default());
Structs§
- Client
Config - Global configuration.
Functions§
- get_
config - Get the global configuration.
- get_
connect_ timeout - A cheaper shortcut of
- get_
receive_ timeout - A cheaper shortcut of
- set_
config - Set the global configuration.