Skip to content

Commit

Permalink
clarify pings (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
dydxwill authored Jun 28, 2024
1 parent e93a3b1 commit 7a47585
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

1 comment on commit 7a47585

@vercel
Copy link

@vercel vercel bot commented on 7a47585 Jun 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.