WebSocketClient
public protocol WebSocketClient : AnyObject
Undocumented
-
Undocumented
Declaration
Swift
func connect()
-
Undocumented
Declaration
Swift
func disconnect(closeCode: UInt16)
-
Undocumented
Declaration
Swift
func write(string: String, completion: (@Sendable () -> Void)?)
-
Undocumented
Declaration
Swift
func write(stringData: Data, completion: (@Sendable () -> Void)?)
-
Undocumented
Declaration
Swift
func write(data: Data, completion: (@Sendable () -> Void)?)
-
Undocumented
Declaration
Swift
func write(ping: Data, completion: (@Sendable () -> Void)?)
-
Undocumented
Declaration
Swift
func write(pong: Data, completion: (@Sendable () -> Void)?)
-
write(string:
Extension method) Undocumented
Declaration
Swift
public func write(string: String)
-
write(data:
Extension method) Undocumented
Declaration
Swift
public func write(data: Data)
-
write(ping:
Extension method) Undocumented
Declaration
Swift
public func write(ping: Data)
-
write(pong:
Extension method) Undocumented
Declaration
Swift
public func write(pong: Data)
-
disconnect()
Extension methodUndocumented
Declaration
Swift
public func disconnect()