We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1349c0 commit 44bcbc8Copy full SHA for 44bcbc8
lib/sender.js
@@ -174,7 +174,7 @@ class Sender {
174
/**
175
* Frames and sends a ping message.
176
*
177
- * @param {*} data The message to send
+ * @param {Buffer} data The message to send
178
* @param {Boolean} mask Specifies whether or not to mask `data`
179
* @param {Boolean} readOnly Specifies whether `data` can be modified
180
* @param {Function} cb Callback
@@ -218,7 +218,7 @@ class Sender {
218
219
* Frames and sends a pong message.
220
221
222
223
224
0 commit comments