Custom parser for iOS app
//Javascript Client Side is const parser = require('socket.io-msgpack-parser'); const socket = io({ parser: parser});
//Server side is const io = require('socket.io')({ parser: parser});
//iOS ====================================== How can i implement the custom parser like the above? I think the socket.io-client-swift library has no answer for the custom parser... if server is working with parser, we have no way to implement it with iOS app?
This isn't supported in an official manner at the moment. You could subclass SocketManager and override the parseEngineMessage method, and then call the event handler method on the correct socket.
Is this still not supported?
I can see how reimplementing parseEngineMessage works, but what about publishing with a custom parser?