File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ This class represents a WebSocket server. It extends the `EventEmitter`.
8080 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.
83+ - ` closeTimeout ` {Number} Timeout in milliseconds for graceful close.
8384 - ` handleProtocols ` {Function} A function which can be used to handle the
8485 WebSocket subprotocols. See description below.
8586 - ` host ` {String} The hostname where to bind the server.
@@ -304,6 +305,7 @@ This class represents a WebSocket. It extends the `EventEmitter`.
304305 the WHATWG standardbut may negatively impact performance.
305306 - ` autoPong ` {Boolean} Specifies whether or not to automatically send a pong
306307 in response to a ping. Defaults to ` true ` .
308+ - ` closeTimeout ` {Number} Timeout in milliseconds for graceful close.
307309 - ` finishRequest ` {Function} A function which can be used to customize the
308310 headers of each HTTP request before it is sent. See description below.
309311 - ` followRedirects ` {Boolean} Whether or not to follow redirects. Defaults to
You can’t perform that action at this time.
0 commit comments