Skip to content

Commit b9dc43c

Browse files
author
Kamil93
authored
docs: add documentation about heartbeat event (#623)
1 parent 7e9e544 commit b9dc43c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,8 @@ A representation of a client. _Inherits from EventEmitter_.
355355
- **Arguments**
356356
- `type`: packet type
357357
- `data`: packet data (if type is message)
358+
- `heartbeat`
359+
- Called when `ping` or `pong` packed is received (depends of client version)
358360

359361
##### Properties
360362

0 commit comments

Comments
 (0)