Enumeration Casehummingbird-websocket 2.2.0HummingbirdWebSocket
notUpgraded(_:)
WebSocketChannel.swift:33case notUpgraded(NIOAsyncChannel<HTTPRequestPart, HTTPResponsePart>)
case notUpgraded(NIOAsyncChannel<HTTPRequestPart, HTTPResponsePart>)
s20HummingbirdWebSocket05HTTP1bC14UpgradeChannelV0E6ResultO11notUpgradedyAE7NIOCore08NIOAsyncF0Vy12NIOHTTPTypes15HTTPRequestPartOAJ012HTTPResponseN0OGcAEmF
What are these?74GV7
import HummingbirdWebSocket
enum UpgradeResult
Upgrade result (either a websocket AsyncChannel, or an HTTP1 AsyncChannel)
struct HTTP1WebSocketUpgradeChannel
Child channel supporting a web socket upgrade from HTTP1
struct NIOAsyncChannel<Inbound, Outbound> where Inbound : Sendable, Outbound : Sendable
Wraps a NIO Channel
object into a form suitable for use in Swift Concurrency.
enum HTTPRequestPart
The parts of a complete HTTP request.
enum HTTPResponsePart
The parts of a complete HTTP response.
case websocket(NIOAsyncChannel<WebSocketFrame, WebSocketFrame>, WebSocketChannelHandler, Logger)
case failedUpgrade(NIOAsyncChannel<HTTPRequestPart, HTTPResponsePart>, Logger)