Enumerationswift-websocket 1.1.1WSCore
Opcode
WebSocketDataFrame.swift:20enum Opcode
enum Opcode
import WSCore
struct WebSocketDataFrame
WebSocket data frame.
case text
case binary
case continuation
var data: ByteBuffer
var debugDescription: String { get }
var description: String { get }
var fin: Bool
var opcode: Opcode
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol Sendable
init?(rawValue: String)
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)