Postgres module

connect_tls

procedure · 1 overloadsince 0.27.0Source

The handshake over the connection's reader and writer, the stream becoming theirs.

connect_tls :: (c: *Connection, config: *Tls.Tls_Config) -> Pg_Error

The handshake over the connection's reader and writer, the stream becoming theirs.

Parameters

c: *Connection
the connection to run the handshake on.
config: *Tls.Tls_Config
the TLS configuration to use.

Returns

See also