Skip to content

Type Method

require(_:)

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, fail the connection creation.
static func require(_ sslContext: NIOSSLContext) -> PostgresConnection.Configuration.TLS