Disable PingPongManager in Unity client

Hey please suggest a way to disable the ping pong manager on unity client.

Hi @pranav8gitlab. You can disable the PingPongManager in the Unity client with this constructor:

var client = new Client("scheme", "host", port, "key"); // set correct values
var keepAliveIntervalSec = 0;
var socket = Socket.From(client, new WebSocketAdapter(keepAliveIntervalSec));

If you set the keep alive interval to 0 seconds it will disable it.

I should note though that it will mean that your game client devices will take longer to detect disconnects with bad socket connections. (i.e. From Wifi to 4G on mobile or loss of connectivity over cellular).

Normally I would recommend against it unless you have specific reasons to disable it.