Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

ssl_mode

Determines how to perform SSL negotiation with the server.

Synopsis

Defined in header <boost/mysql/ssl_mode.hpp>

enum ssl_mode
Values

Name

Description

disable

Never use TLS.

enable

Use TLS if the server supports it, fall back to non-encrypted connection if it does not.

require

Always use TLS; abort the connection if the server does not support it. Ignored by connections with Stream types not supporting SSL.

Convenience header <boost/mysql.hpp>


PrevUpHomeNext