Skip to content

Commit 911bb6f

Browse files
rishabhkohlilpinca
authored andcommitted
[minor] Fix typo in JSDoc comment (#1565)
1 parent 8050d5f commit 911bb6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/websocket-server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class WebSocketServer extends EventEmitter {
2525
* connections
2626
* @param {Boolean} options.clientTracking Specifies whether or not to track
2727
* clients
28-
* @param {Function} options.handleProtocols An hook to handle protocols
28+
* @param {Function} options.handleProtocols A hook to handle protocols
2929
* @param {String} options.host The hostname where to bind the server
3030
* @param {Number} options.maxPayload The maximum allowed message size
3131
* @param {Boolean} options.noServer Enable no server mode
@@ -34,7 +34,7 @@ class WebSocketServer extends EventEmitter {
3434
* permessage-deflate
3535
* @param {Number} options.port The port where to bind the server
3636
* @param {http.Server} options.server A pre-created HTTP/S server to use
37-
* @param {Function} options.verifyClient An hook to reject connections
37+
* @param {Function} options.verifyClient A hook to reject connections
3838
* @param {Function} callback A listener for the `listening` event
3939
*/
4040
constructor(options, callback) {

0 commit comments

Comments
 (0)