go-binance icon indicating copy to clipboard operation
go-binance copied to clipboard

If we need to handle the ping in go-binance?

Open zhouziyan opened this issue 3 years ago • 1 comments

According to binance's doc:

The websocket server will send a ping frame every 5 minutes. If the websocket server does not receive a pong frame back from the connection within a 15 minute period, the connection will be disconnected. Unsolicited pong frames are allowed.

zhouziyan avatar Mar 23 '21 03:03 zhouziyan

gorilla websocket package sets ping handler by default

grishinsana avatar Apr 01 '21 12:04 grishinsana