From 64e7d25767ff8a5ab81aab490cef9ed316107c69 Mon Sep 17 00:00:00 2001 From: Kamil93 Date: Thu, 5 Aug 2021 10:49:45 +0200 Subject: [PATCH] Add information about `heartbeat` event on Socket --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c55a57455..0f5a9da44 100644 --- a/README.md +++ b/README.md @@ -355,6 +355,8 @@ A representation of a client. _Inherits from EventEmitter_. - **Arguments** - `type`: packet type - `data`: packet data (if type is message) +- `heartbeat` + - Called when `ping` or `pong` packed is received (depends of client version) ##### Properties