SocketIOTransportDelegate
Socket.io transport delegate.
-
Connection options.
Declaration
Swift
var options: SocketIOOptions { get } -
Tells the delegate that the transport suffer from a problem.
Declaration
Swift
func failure(event: SocketIOEvent, withError error: SocketIOError)Parameters
eventSystem event.
errorSocket.io error.
-
Tells the delegate that the transport did receive a text message.
Declaration
Swift
func didReceiveMessage(event: String, withString message: String)Parameters
eventEvent name.
messageText message.
-
Tells the delegate that the transport did receive a list of items.
Declaration
Swift
func didReceiveMessage(event: String, withList list: NSArray)Parameters
eventEvent name.
listList of items.
-
Tells the delegate that the transport did receive a dictionary.
Declaration
Swift
func didReceiveMessage(event: String, withDictionary dict: NSDictionary)Parameters
eventEvent name.
dictData dictionary.
View on GitHub
SocketIOTransportDelegate Protocol Reference