chore(Gateway): clarify Heartbeat OP as bidirectional (#83)

This commit is contained in:
aetheryx
2021-02-06 18:01:58 +01:00
committed by GitHub
parent 63096d807d
commit 70bfe9f4aa
2 changed files with 4 additions and 2 deletions

View File

@@ -32,7 +32,8 @@ export const enum GatewayOPCodes {
*/
Dispatch,
/**
* Fired periodically by the client to keep the connection alive
* A bidirectional opcode to maintain an active gateway connection.
* Fired periodically by the client, or fired by the gateway to request an immediate heartbeat from the client.
*/
Heartbeat,
/**

View File

@@ -33,7 +33,8 @@ export const enum GatewayOPCodes {
*/
Dispatch,
/**
* Fired periodically by the client to keep the connection alive
* A bidirectional opcode to maintain an active gateway connection.
* Fired periodically by the client, or fired by the gateway to request an immediate heartbeat from the client.
*/
Heartbeat,
/**