Structureswift-nio 2.84.0NIOHTTP1
NIOHTTPClientUpgradeError
Errors that may be raised by the HTTPClientProtocolUpgrader
.
struct NIOHTTPClientUpgradeError
Errors that may be raised by the HTTPClientProtocolUpgrader
.
struct NIOHTTPClientUpgradeError
import NIOHTTP1
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Error : Sendable
A type representing an error value that can be thrown.
protocol Escapable
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
A thread-safe type whose values can be shared across arbitrary concurrent contexts without introducing a risk of data races. Values of the type may have no shared mutable state, or they may protect that state with a lock or by forcing it to only be accessed from a specific actor.
static let invalidHTTPOrdering: NIOHTTPClientUpgradeError
static let receivedResponseAfterUpgradeCompleted: NIOHTTPClientUpgradeError
static let receivedResponseBeforeRequestSent: NIOHTTPClientUpgradeError
static let responseProtocolNotFound: NIOHTTPClientUpgradeError
static let upgraderDeniedUpgrade: NIOHTTPClientUpgradeError
static let writingToHandlerAfterUpgradeCompleted: NIOHTTPClientUpgradeError
static let writingToHandlerAfterUpgradeFailed: NIOHTTPClientUpgradeError
static let writingToHandlerDuringUpgrade: NIOHTTPClientUpgradeError
var description: String { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.