This library works great but on event handler does not work.
var hubConnection = HubConnection(withUrl: "http://localhost/endpoint")
var chat = hubConnection.createHubProxy(hubName: "chat")
chat.on(eventName: "eventName") { (args) in
if let message = args[0] {
print("Message: \(message)")
}
}
Does anybody see this issue and know the way to fix?
This library works great but
onevent handler does not work.Does anybody see this issue and know the way to fix?