Configuration options for connections.
More...
#include <types.h>
|
| std::chrono::milliseconds | connect_timeout {0} |
| | Connection timeout duration (0 = no timeout)
|
| |
| std::chrono::milliseconds | read_timeout {0} |
| | Read operation timeout (0 = no timeout)
|
| |
| std::chrono::milliseconds | write_timeout {0} |
| | Write operation timeout (0 = no timeout)
|
| |
| bool | keep_alive = false |
| | Enable TCP keep-alive (where applicable)
|
| |
| bool | no_delay = false |
| | TCP no-delay (disable Nagle's algorithm)
|
| |
Configuration options for connections.
Provides optional configuration parameters that can be set on connections.
Definition at line 198 of file types.h.
◆ connect_timeout
| std::chrono::milliseconds kcenon::network::unified::connection_options::connect_timeout {0} |
Connection timeout duration (0 = no timeout)
Definition at line 200 of file types.h.
◆ keep_alive
| bool kcenon::network::unified::connection_options::keep_alive = false |
Enable TCP keep-alive (where applicable)
Definition at line 209 of file types.h.
◆ no_delay
| bool kcenon::network::unified::connection_options::no_delay = false |
TCP no-delay (disable Nagle's algorithm)
Definition at line 212 of file types.h.
◆ read_timeout
| std::chrono::milliseconds kcenon::network::unified::connection_options::read_timeout {0} |
Read operation timeout (0 = no timeout)
Definition at line 203 of file types.h.
◆ write_timeout
| std::chrono::milliseconds kcenon::network::unified::connection_options::write_timeout {0} |
Write operation timeout (0 = no timeout)
Definition at line 206 of file types.h.
The documentation for this struct was generated from the following file:
- include/kcenon/network/detail/unified/types.h