From f7dc46971768b9678b4a255f9f3e202ab203135e Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Thu, 4 Jul 2024 07:48:31 +0200 Subject: [PATCH] [doc] Fix the type of the `data` argument --- doc/ws.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ws.md b/doc/ws.md index f30ad4cae..2fbdbb79d 100644 --- a/doc/ws.md +++ b/doc/ws.md @@ -395,7 +395,7 @@ of the string values defined below under [Error codes](#error-codes). ### Event: 'message' -- `data` {Buffer|ArrayBuffer|Buffer[]} +- `data` {ArrayBuffer|Blob|Buffer|Buffer[]} - `isBinary` {Boolean} Emitted when a message is received. `data` is the message content. `isBinary`