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 23636d9 commit d33f0a5Copy full SHA for d33f0a5
templates/swift/Sources/WebSockets/WebSocketClient.swift.twig
@@ -246,7 +246,9 @@ public class WebSocketClient {
246
247
let basicUpgrader = NIOWebSocketClientUpgrader(
248
requestKey: self.frameKey,
249
- upgradePipelineHandler: self.upgradePipelineHandler
+ upgradePipelineHandler: { channel, response in
250
+ self.upgradePipelineHandler(channel: channel, response: response)
251
+ }
252
)
253
254
let config: NIOHTTPClientUpgradeConfiguration = (upgraders: [basicUpgrader], completionHandler: { context in
0 commit comments