Skip to content

Commit

Permalink
[minor] Fix typo in JSDoc comment (#1565)
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhkohli authored and lpinca committed May 14, 2019
1 parent 8050d5f commit 911bb6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/websocket-server.js
Expand Up @@ -25,7 +25,7 @@ class WebSocketServer extends EventEmitter {
* connections
* @param {Boolean} options.clientTracking Specifies whether or not to track
* clients
* @param {Function} options.handleProtocols An hook to handle protocols
* @param {Function} options.handleProtocols A hook to handle protocols
* @param {String} options.host The hostname where to bind the server
* @param {Number} options.maxPayload The maximum allowed message size
* @param {Boolean} options.noServer Enable no server mode
Expand All @@ -34,7 +34,7 @@ class WebSocketServer extends EventEmitter {
* permessage-deflate
* @param {Number} options.port The port where to bind the server
* @param {http.Server} options.server A pre-created HTTP/S server to use
* @param {Function} options.verifyClient An hook to reject connections
* @param {Function} options.verifyClient A hook to reject connections
* @param {Function} callback A listener for the `listening` event
*/
constructor(options, callback) {
Expand Down

0 comments on commit 911bb6f

Please sign in to comment.