WebSocketServerConnection
public class WebSocketServerConnection : WebSocketConnection, WebSocketHTTPServerDelegate, WebSocketFramerEventClient, WebSocketFrameCollectorDelegate, WebSocketTransportEventClient, @unchecked Sendable
Undocumented
-
Undocumented
Declaration
Swift
public var onEvent: (@Sendable (WebSocketConnectionEvent) -> Void)?
-
Undocumented
Declaration
Swift
public weak var delegate: WebSocketConnectionDelegate?
-
Undocumented
Declaration
Swift
public func write(data: Data, opcode: WebSocketFrameOpCode)
-
Undocumented
Declaration
Swift
public func connectionChanged(state: WebSocketConnectionState)
-
Undocumented
Declaration
Swift
public func didReceive(event: WebSocketHTTPEvent)
-
Undocumented
Declaration
Swift
public func frameProcessed(event: WebSocketFrameEvent)
-
Undocumented
Declaration
Swift
public func didForm(event: WebSocketFrameCollector.Event)
-
Undocumented
Declaration
Swift
public func decompress(data: Data, isFinal: Bool) -> Data?