We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fc5fe2 commit 7d20a99Copy full SHA for 7d20a99
Sources/WSClient/WebSocketClientConfiguration.swift
@@ -40,7 +40,6 @@ public struct WebSocketClientConfiguration: Sendable {
40
/// - autoPing: Automatic Ping configuration
41
/// - validateUTF8: Should text be checked to see if it is valid UTF8
42
/// - sniHostname: Hostname used during TLS handshake
43
- @_disfavoredOverload
44
public init(
45
maxFrameSize: Int = (1 << 14),
46
additionalHeaders: HTTPFields = .init(),
@@ -56,6 +55,6 @@ public struct WebSocketClientConfiguration: Sendable {
56
55
self.closeTimeout = closeTimeout
57
self.autoPing = autoPing
58
self.validateUTF8 = validateUTF8
59
- self.sniHostname = nil
+ self.sniHostname = sniHostname
60
}
61
0 commit comments