SocketEngineClient
@objc public protocol SocketEngineClient
Declares that a type will be a delegate to an engine.
-
Called when the engine errors.
Declaration
Swift
func engineDidError(reason: String) -
Called when the engine closes.
Declaration
Swift
func engineDidClose(reason: String) -
Called when the engine opens.
Declaration
Swift
func engineDidOpen(reason: String) -
Called when the engine has a message that must be parsed.
Declaration
Swift
func parseEngineMessage(_ msg: String) -
Called when the engine receives binary data.
Declaration
Swift
func parseEngineBinaryData(_ data: Data)
SocketEngineClient Protocol Reference