Open
Description
Like we send auth parameter ion iOS using the following way, But I couldn't found a way to send It same in iOS.
chatSocketManager = SocketManager(socketURL: socketURL, config: [.log(true), .compress])
chatSocketManager.defaultSocket.on(clientEvent: .connect) {data, ack in
print("socket connected")
self.chatSocketManager.defaultSocket.joinNamespace()
}
let dict = [ "access" : accessToken,
"public": publicToken,
"timestamp" : "\(timeStamp)"]
chatSocketManager.defaultSocket.connect(withPayload: dict)
Need Someone Help.
Thanks