mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-05-30 15:30:09 +00:00
chore(Gateway): clarify Heartbeat OP as bidirectional (#83)
This commit is contained in:
@@ -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,
|
||||
/**
|
||||
|
||||
@@ -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,
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user