Skip to content

Commit 7ff26d9

Browse files
committed
[doc] Fix nits
1 parent 4ed2c87 commit 7ff26d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/ws.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ completely detached from the HTTP/S server. This makes it possible, for example,
103103
to share a single HTTP/S server between multiple WebSocket servers.
104104

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

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

176176
### Event: 'close'

0 commit comments

Comments
 (0)