| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 345c591 commit 79d685a
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2431,10 +2431,7 @@ added: v8.4.0 | |||
| 2431 | 2431 | ||
| 2432 | 2432 | * `callback` {Function} | |
| 2433 | 2433 | ||
| 2434 | - Stops the server from establishing new sessions. This does not prevent new | ||
| 2435 | - request streams from being created due to the persistent nature of HTTP/2 | ||
| 2436 | - sessions. To gracefully shut down the server, call [`http2session.close()`][] on | ||
| 2437 | - all active sessions. | ||
| 2434 | + Stops the server from establishing new sessions and streams. | ||
| 2438 | 2435 | ||
| 2439 | 2436 | If `callback` is provided, it is not invoked until all active sessions have been | |
| 2440 | 2437 | closed, although the server has already stopped allowing new sessions. See | |
@@ -2715,10 +2712,7 @@ added: v8.4.0 | |||
| 2715 | 2712 | ||
| 2716 | 2713 | * `callback` {Function} | |
| 2717 | 2714 | ||
| 2718 | - Stops the server from establishing new sessions. This does not prevent new | ||
| 2719 | - request streams from being created due to the persistent nature of HTTP/2 | ||
| 2720 | - sessions. To gracefully shut down the server, call [`http2session.close()`][] on | ||
| 2721 | - all active sessions. | ||
| 2715 | + Stops the server from establishing new sessions and streams. | ||
| 2722 | 2716 | ||
| 2723 | 2717 | If `callback` is provided, it is not invoked until all active sessions have been | |
| 2724 | 2718 | closed, although the server has already stopped allowing new sessions. See | |
@@ -5043,7 +5037,6 @@ you need to implement any fall-back behavior yourself. | |||
| 5043 | 5037 | [`http2.Server`]: #class-http2server | |
| 5044 | 5038 | [`http2.createSecureServer()`]: #http2createsecureserveroptions-onrequesthandler | |
| 5045 | 5039 | [`http2.createServer()`]: #http2createserveroptions-onrequesthandler | |
| 5046 | - [`http2session.close()`]: #http2sessionclosecallback | ||
| 5047 | 5040 | [`http2stream.pushStream()`]: #http2streampushstreamheaders-options-callback | |
| 5048 | 5041 | [`import()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import | |
| 5049 | 5042 | [`net.Server.close()`]: net.md#serverclosecallback | |
| Back | FazBrowse Home | New Git URL |
0 commit comments