Socket.io client depends on engine.io. That's probably why there isn't much in the socket.io-client: https://github.com/socketio/engine.io/search?q=pingInterval
They do solve this problem as documented: https://github.com/socketio/engine.io/blob/64d57545116c7a7d9...