Enumerationswift-websocket 1.1.0WSCore
Parameter
A single parameter
enum Parameter
A single parameter
enum Parameter
import WSCore
struct WebSocketExtensionHTTPParameters
Parsed parameters from Sec-WebSocket-Extensions
header
case value(String)
case null
init(_ name: String, parameters: [String : Parameter])
Initialiser used by tests
static func parseHeaders(_ headers: HTTPFields) -> [WebSocketExtensionHTTPParameters]
Parse all Sec-WebSocket-Extensions
header values
let name: String
let parameters: [String : Parameter]
protocol Equatable
A type that can be compared for value equality.
protocol Sendable
var integer: Int? { get }
var optional: String? { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.