public struct NIOWebSocketUpgradeError : Error, Equatable
Errors that can be thrown by
NIOWebSocket during protocol upgrade.
A HTTP header on the upgrade request was invalid.
public static let invalidUpgradeHeader: NIOWebSocketUpgradeError
The HTTP request targets a websocket pipeline that does not support it in some way.
public static let unsupportedWebSocketTarget: NIOWebSocketUpgradeError