Skip to content

Commit

Permalink
[doc] Fix nits
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed Sep 21, 2022
1 parent 4ed2c87 commit 7ff26d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/ws.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ completely detached from the HTTP/S server. This makes it possible, for example,
to share a single HTTP/S server between multiple WebSocket servers.

> **NOTE:** Use of `verifyClient` is discouraged. Rather handle client
> authentication in the `upgrade` event of the HTTP server. See examples for
> authentication in the `'upgrade'` event of the HTTP server. See examples for
> more details.
If `verifyClient` is not set then the handshake is automatically accepted. If it
Expand Down Expand Up @@ -170,7 +170,7 @@ is used. When sending a fragmented message the length of the first fragment is
compared to the threshold. This determines if compression is used for the entire
message.

`callback` will be added as a listener for the `listening` event on the HTTP
`callback` will be added as a listener for the `'listening'` event on the HTTP
server when not operating in "noServer" mode.

### Event: 'close'
Expand Down

0 comments on commit 7ff26d9

Please sign in to comment.