WebSocketFramer
public class WebSocketFramer : WebSocketFramerProtocol, @unchecked Sendable
Undocumented
-
Undocumented
Declaration
Swift
public var compressionEnabled: Bool
-
Undocumented
Declaration
Swift
public init(isServer: Bool = false)
-
Undocumented
Declaration
Swift
public func updateCompression(supports: Bool)
-
Undocumented
Declaration
Swift
public func supportsCompression() -> Bool
-
Undocumented
Declaration
Swift
public func add(data: Data)
-
Undocumented
Declaration
Swift
public func register(delegate: WebSocketFramerEventClient)
-
Undocumented
Declaration
Swift
public func createWriteFrame(opcode: WebSocketFrameOpCode, payload: Data, isCompressed: Bool) -> Data