WebSocketClient
public protocol WebSocketClient: class
Undocumented
-
Undocumented
Declaration
Swift
var delegate: WebSocketDelegate?
-
Undocumented
Declaration
Swift
var pongDelegate: WebSocketPongDelegate?
-
Undocumented
Declaration
Swift
var disableSSLCertValidation: Bool
-
Undocumented
Declaration
Swift
var overrideTrustHostname: Bool
-
Undocumented
Declaration
Swift
var desiredTrustHostname: String?
-
Undocumented
Declaration
Swift
var sslClientCertificate: SSLClientCertificate?
-
Undocumented
Declaration
Swift
var security: SSLTrustValidator?
-
Undocumented
Declaration
Swift
var enabledSSLCipherSuites: [SSLCipherSuite]?
-
Undocumented
Declaration
Swift
var isConnected: Bool
-
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()