Structure
PostgresClient.Configuration.TLS
struct TLS
Topics
Type Properties
static let disable: PostgresClient.Configuration.TLSDo not try to create a TLS connection to the server.
Type Methods
static func prefer(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(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