12345678910111213module juptune.postgres.protocol.connection;
enum PostgresTlsMode : int
{
///
FAILSAFE = 0,
/// Never attempt to negotiate TLS.
never = 1,
/// Attempt to negotiate TLS, but fallback to plaintext if the server doesn't want to use it.
ifPossible = 2,
/// Attempt to negotiate TLS, but fail the connection if the server doesn't want to use it.
always = 3
}
Supported modes for negotiating a TLS.