WebSocketTCPTransport
public class WebSocketTCPTransport : WebSocketTransport, @unchecked Sendable
Undocumented
-
Undocumented
Declaration
Swift
public var usingTLS: Bool { get }
-
Undocumented
Declaration
Swift
public init(connection: NWConnection)
-
Undocumented
Declaration
Swift
public init()
-
Undocumented
Declaration
Swift
public func connect(url: URL, timeout: Double = 10, certificatePinning: WebSocketCertificatePinning? = nil)
-
Undocumented
Declaration
Swift
public func disconnect()
-
Undocumented
Declaration
Swift
public func register(delegate: WebSocketTransportEventClient)
-
Undocumented
Declaration
Swift
public func write(data: Data, completion: @escaping (@Sendable (Error?) -> Void))