...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Controls whether to use TLS or not.
ssl_mode ssl {ssl_mode::enable};
See ssl_mode
for more information about the possible modes. This option is only relevant
when server_address.type() == address_type::host_and_port
.
UNIX socket connections will never use TLS, regardless of this value.