|
@@ -111,7 +111,7 @@ extension Server.Builder.Secure {
|
|
|
return self
|
|
return self
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- /// Sets whether certificates should be verified. Defaults to `.fullVerification` if not set.
|
|
|
|
|
|
|
+ /// Sets whether certificates should be verified. Defaults to `.none` if not set.
|
|
|
@discardableResult
|
|
@discardableResult
|
|
|
public func withTLS(certificateVerification: CertificateVerification) -> Self {
|
|
public func withTLS(certificateVerification: CertificateVerification) -> Self {
|
|
|
self.tls.certificateVerification = certificateVerification
|
|
self.tls.certificateVerification = certificateVerification
|