WSStream
public protocol WSStream
Undocumented
-
Undocumented
Declaration
Swift
var delegate: WSStreamDelegate? { get set }
-
Undocumented
Declaration
Swift
func connect(url: URL, port: Int, timeout: TimeInterval, ssl: SSLSettings, completion: @escaping ((Error?) -> Void))
-
Undocumented
Declaration
Swift
func write(data: Data) -> Int
-
Undocumented
Declaration
Swift
func read() -> Data?
-
Undocumented
Declaration
Swift
func cleanup()
-
Undocumented
Declaration
Swift
func sslTrust() -> (trust: SecTrust?, domain: String?)