WebSocketClient
public protocol WebSocketClient : AnyObject
Undocumented
-
Undocumented
Declaration
Swift
var delegate: WebSocketDelegate? { get set }
-
Undocumented
Declaration
Swift
var pongDelegate: WebSocketPongDelegate? { get set }
-
Undocumented
Declaration
Swift
var disableSSLCertValidation: Bool { get set }
-
Undocumented
Declaration
Swift
var overrideTrustHostname: Bool { get set }
-
Undocumented
Declaration
Swift
var desiredTrustHostname: String? { get set }
-
Undocumented
Declaration
Swift
var sslClientCertificate: SSLClientCertificate? { get set }
-
Undocumented
Declaration
Swift
var security: SSLTrustValidator? { get set }
-
Undocumented
Declaration
Swift
var enabledSSLCipherSuites: [SSLCipherSuite]? { get set }
-
Undocumented
Declaration
Swift
var isConnected: Bool { get }
-
Undocumented
Declaration
Swift
func connect()
-
Undocumented
Declaration
Swift
func disconnect(forceTimeout: TimeInterval?, closeCode: UInt16)
-
Undocumented
Declaration
Swift
func write(string: String, completion: (() -> ())?)
-
Undocumented
Declaration
Swift
func write(data: Data, completion: (() -> ())?)
-
Undocumented
Declaration
Swift
func write(ping: Data, completion: (() -> ())?)
-
Undocumented
Declaration
Swift
func write(pong: Data, completion: (() -> ())?)
-
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()