Skip to content

Commit

Permalink
clarify pings
Browse files Browse the repository at this point in the history
  • Loading branch information
dydxwill committed Jun 28, 2024
1 parent e93a3b1 commit 162362f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api_integration-indexer/indexer_websocket.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Upon connecting to v4 Websockets you will receive an initial connection message

### Maintaining a Connection

Every 30 seconds, the websocket API will send a ping event to the connected client. If a pong event is not received within 10 seconds back, the websocket API will disconnect.
Every 30 seconds, the websocket API will send a [heartbeat ping control frame](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_servers#pings_and_pongs_the_heartbeat_of_websockets) to the connected client. If a pong event is not received within 10 seconds back, the websocket API will disconnect.

### Subscribe

Expand Down

0 comments on commit 162362f

Please sign in to comment.