Structure
PostgresClient.Configuration.TLS
iOS 16.0+
iPadOS 16.0+
Mac Catalyst 16.0+
macOS 13.0+
tvOS 16.0+
watchOS 9.0+
struct TLS
Topics
Type Properties
static let disable: `Self`Do not try to create a TLS connection to the server.
Type Methods
static func prefer(NIOSSL.TLSConfiguration) -> PostgresClient.Configuration.TLSTry 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 require(NIOSSL.TLSConfiguration) -> PostgresClient.Configuration.TLSTry 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.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype