public struct SocketEventHandler
A wrapper around a handler.
The event for this handler.
public let event: String
A unique identifier for this handler.
public let id: UUID
The actual handler function.
public let callback: NormalCallback
Causes this handler to be executed.
public func executeCallback(with items: [Any], withAck ack: Int, withSocket socket: SocketIOClient)
The data that this handler should be called with.
The ack number that this event expects. Pass -1 to say this event doesn’t expect an ack.
The socket that is calling this event.