Skip to content

Type Method

prefer(_:)

Try to create a TLS connection to the server. If the server supports TLS, create a TLS connection. If the server does not support TLS, create an insecure connection.
static func prefer(_ sslContext: NIOSSLContext) -> PostgresConnection.Configuration.TLS