Sets up the TLS configuration from the settings and runs the handshake.
- c: the connection to upgrade.
- config: the settings:
ssl_modeand the TLS options.
start_tls :: (c: *Connection, config: Config) -> Pg_Error
Sets up the TLS configuration from the settings and runs the handshake.
Parameters
- c: *Connection
- the connection to upgrade.
- config: Config
- the settings:
ssl_modeand the TLS options.