Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

ssl_mode

Determines how to perform SSL negotiation with the server.

Synopsis

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

enum class 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.

Convenience header <boost/mysql.hpp>


PrevUpHomeNext