Skip to content

Structure

PostgresClient.Configuration.TLS

struct TLS

Topics

Type Properties

  • disable
    Do not try to create a TLS connection to the server.

Type Methods

  • 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.
  • 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.

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype