@@ -72,12 +72,12 @@ This class represents a WebSocket server. It extends the `EventEmitter`.
7272### new WebSocketServer(options[ , callback] )
7373
7474- ` options ` {Object}
75- - ` autoPong ` {Boolean} Specifies whether or not to automatically send a pong
76- in response to a ping. Defaults to ` true ` .
7775 - ` allowSynchronousEvents ` {Boolean} Specifies whether any of the ` 'message' ` ,
7876 ` 'ping' ` , and ` 'pong' ` events can be emitted multiple times in the same
7977 tick. Defaults to ` true ` . Setting it to ` false ` improves compatibility with
8078 the WHATWG standard but may negatively impact performance.
79+ - ` autoPong ` {Boolean} Specifies whether or not to automatically send a pong
80+ in response to a ping. Defaults to ` true ` .
8181 - ` backlog ` {Number} The maximum length of the queue of pending connections.
8282 - ` clientTracking ` {Boolean} Specifies whether or not to track clients.
8383 - ` handleProtocols ` {Function} A function which can be used to handle the
@@ -298,12 +298,12 @@ This class represents a WebSocket. It extends the `EventEmitter`.
298298- ` address ` {String|url.URL} The URL to which to connect.
299299- ` protocols ` {String|Array} The list of subprotocols.
300300- ` options ` {Object}
301- - ` autoPong ` {Boolean} Specifies whether or not to automatically send a pong
302- in response to a ping. Defaults to ` true ` .
303301 - ` allowSynchronousEvents ` {Boolean} Specifies whether any of the ` 'message' ` ,
304302 ` 'ping' ` , and ` 'pong' ` events can be emitted multiple times in the same
305303 tick. Defaults to ` true ` . Setting it to ` false ` improves compatibility with
306304 the WHATWG standardbut may negatively impact performance.
305+ - ` autoPong ` {Boolean} Specifies whether or not to automatically send a pong
306+ in response to a ping. Defaults to ` true ` .
307307 - ` finishRequest ` {Function} A function which can be used to customize the
308308 headers of each HTTP request before it is sent. See description below.
309309 - ` followRedirects ` {Boolean} Whether or not to follow redirects. Defaults to
0 commit comments