Structureswift-websocket 1.1.0WSCore
Configuration
WebSocketHandler.swift:70This declaration is gated by at least one @_spi attribute.
struct Configuration
This declaration is gated by at least one @_spi attribute.
struct Configuration
import WSCore
actor WebSocketHandler
Handler processing raw WebSocket packets. Used by WebSocket transports
static func handle<Context>(type: WebSocketType, configuration: Configuration, asyncChannel: NIOAsyncChannel<WebSocketFrame, WebSocketFrame>, context: Context, handler: WebSocketDataHandler<Context>) async throws -> WebSocketCloseFrame? where Context : WebSocketContext
protocol Sendable
init(extensions: [any WebSocketExtension], autoPing: AutoPingSetup, validateUTF8: Bool)