Instance Methodswift-websocket 1.1.1WSCore
serverReponseHeader(to:)
WebSocketExtensionBuilder.swift:96func serverReponseHeader(to: WebSocketExtensionHTTPParameters) -> String?
func serverReponseHeader(to: WebSocketExtensionHTTPParameters) -> String?
s6WSCore38WebSocketNonNegotiableExtensionBuilderV19serverReponseHeader2toSSSgAA0bcF14HTTPParametersV_tF
What are these?H81I
where Extension:WebSocketExtension
import WSCore
struct WebSocketNonNegotiableExtensionBuilder<Extension> where Extension : WebSocketExtension
A WebSocket extension that is applied without any negotiation with the other side
struct WebSocketExtensionHTTPParameters
Parsed parameters from Sec-WebSocket-Extensions
header
@frozen struct String
A Unicode string value that is a collection of characters.
protocol WebSocketExtension : Sendable
Protocol for WebSocket extension
func clientExtension(from: WebSocketExtensionHTTPParameters) throws -> (any WebSocketExtension)?
func clientRequestHeader() -> String
func serverExtension(from: WebSocketExtensionHTTPParameters) throws -> (any WebSocketExtension)?