NIOTypedWebSocketClientUpgrader

A NIOTypedHTTPClientProtocolUpgrader that knows how to do the WebSocket upgrade dance.

NIOWebSocketClientUpgrader.swift:84
iOS
16+
macOS
13+
tvOS
16+
watchOS
9+
final class NIOTypedWebSocketClientUpgrader<UpgradeResult> where UpgradeResult : Sendable

This upgrader assumes that the HTTPClientUpgradeHandler will create and send the upgrade request. This upgrader also assumes that the HTTPClientUpgradeHandler will appropriately mutate the pipeline to remove the HTTP ChannelHandlers.