Sending ping to websocket in order to keep connection alive

Hello there!

I use Binance Futures Java library to connect to Websocket and as you can see in attached image, every 60 secs I receive a message saying “No response from server” and after that it schedules disconnection/reconnection to the socket.

Can somebody suggest the code needed in order to ping websocket every <60 seconds, receive back the pong frame and keep connection alive?

Also do I need also to setup my websocket to auto-pong when I get pinged?

Hi. The fix is applied to the package. Please pull the latest code, thanks.