Skip to content

Commit

Permalink
[doc] Remove misleading information
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed Feb 14, 2023
1 parent a04578e commit 41dc56a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/ws.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,13 +384,13 @@ Emitted when the connection is established.

- `data` {Buffer}

Emitted when a ping is received from the server.
Emitted when a ping is received.

### Event: 'pong'

- `data` {Buffer}

Emitted when a pong is received from the server.
Emitted when a pong is received.

### Event: 'redirect'

Expand Down Expand Up @@ -495,8 +495,8 @@ An event listener to be called when an error occurs. The listener receives an

- {Function}

An event listener to be called when a message is received from the server. The
listener receives a `MessageEvent` named "message".
An event listener to be called when a message is received. The listener receives
a `MessageEvent` named "message".

### websocket.onopen

Expand Down

0 comments on commit 41dc56a

Please sign in to comment.