Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Enums PostgresTlsMode

1
2
3
4
5
6
7
8
9
10
11
12
13
module 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
}

Documentation

Supported modes for negotiating a TLS.

ON THIS PAGE